Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ui_init: Fix condition in message_hover.

Sahil Batra9d2e8aef6d17
diff --git a/static/js/ui_init.js b/static/js/ui_init.js
index 61c5d8a4f45..a0669a15678 100644
--- a/static/js/ui_init.js
+++ b/static/js/ui_init.js
@@ -134,9 +134,7 @@ function message_hover($message_row) {
message_unhover();
$current_message_hover = $message_row;
- // Locally echoed messages have !is_topic_editable and thus go
- // through this code path.
- if (!message_edit.is_topic_editable(message)) {
+ if (!message.sent_by_me) {
// The actions and reactions icon hover logic is handled entirely by CSS
return;
}