# HG changeset patch # User Goffi # Date 1702501280 -3600 # Node ID 2eaea9a9c234fe5c4e97d65b152280f62fddc79f # Parent dc83f45625b3cf5f10652f8b9495d8bf5b5fb75d bulma (chat/message): fix setting of `own_mess` class. diff -r dc83f45625b3 -r 2eaea9a9c234 sat_templates/templates/bulma/chat/message.html --- 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 %}