aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/thread.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-22 20:27:45 +0300
committerGravatar Vitaly Takmazov2023-01-22 20:57:06 +0300
commit478a7bfba88401c1996d0be5a144459011b60e10 (patch)
tree2bdbf40a9910c799673874d64a87a4ef0e5dc04b /src/main/resources/templates/views/thread.html
parent9ad08dc78e0cdbe2cdebf10a96c800e72d48e48b (diff)
db refactoring: merge getMessages with isSubscribed query
Diffstat (limited to 'src/main/resources/templates/views/thread.html')
-rw-r--r--src/main/resources/templates/views/thread.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html
index 759c47e1..7b68df66 100644
--- a/src/main/resources/templates/views/thread.html
+++ b/src/main/resources/templates/views/thread.html
@@ -73,7 +73,7 @@
{% endif %}
{% if visitor.uid > 0 %}
{% if visitor.uid != msg.user.uid %}
- {% if visitorSubscribed %}
+ {% if msg.subscribed %}
<a href="/post?body=U+%23{{ msg.mid }}" class="msg-button">
<i data-icon="ei-check" data-size="s"></i>
<span>&nbsp;{{ i18n("messages","message.subscribed") }}</span>