changeset 389:2eaea9a9c234

bulma (chat/message): fix setting of `own_mess` class.
author Goffi <goffi@goffi.org>
date Wed, 13 Dec 2023 22:01:20 +0100
parents dc83f45625b3
children 38635d393089
files sat_templates/templates/bulma/chat/message.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/chat/message.html	Sun Dec 10 10:55:09 2023 +0100
+++ b/sat_templates/templates/bulma/chat/message.html	Wed Dec 13 22:01:20 2023 +0100
@@ -1,9 +1,9 @@
 {% import 'components/avatar.html' as avatar with context %}
 
 {% if chat_type == "group" %}
-    {% set own_msg = msg.from_==own_jid %}
+    {% set own_msg = msg.from_==own_local_jid %}
 {% else %}
-    {% set own_msg = msg.from_|bare_jid==own_jid|bare_jid %}
+    {% set own_msg = msg.from_|bare_jid==own_local_jid|bare_jid %}
 {% endif %}
 
 <div