From f26a76a9d884dd2f021437e6f6e14ab0035d9f6b Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Tue, 15 Jun 2021 19:59:19 +0000 Subject: [PATCH] message_controls: Hide irrelevant icons for spectators. --- static/templates/message_controls.hbs | 6 +++--- static/templates/message_reactions.hbs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/templates/message_controls.hbs b/static/templates/message_controls.hbs index 210da12b02..c3b169d1ed 100644 --- a/static/templates/message_controls.hbs +++ b/static/templates/message_controls.hbs @@ -1,10 +1,10 @@
{{#if msg/sent_by_me}} -
+
{{/if}} {{#unless msg/sent_by_me}} -
+
{{/unless}} @@ -21,7 +21,7 @@
{{#unless msg/locally_echoed}} -
+
{{/unless}} diff --git a/static/templates/message_reactions.hbs b/static/templates/message_reactions.hbs index 5a7f2edbaf..48b1ee31be 100644 --- a/static/templates/message_reactions.hbs +++ b/static/templates/message_reactions.hbs @@ -1,7 +1,7 @@ {{#each this/msg/message_reactions}} {{> message_reaction}} {{/each}} -
+
+