Philipp Hörist pushed to branch master at gajim / gajim


Commits:
dcd120eb by lovetox at 2022-08-12T15:40:37+02:00
fix: Don’t handle message-sent even for groupchats

Otherwise the message would be added twice to the view.

- - - - -


1 changed file:

- gajim/gtk/control.py


Changes:

=====================================
gajim/gtk/control.py
=====================================
@@ -669,6 +669,9 @@ def _on_message_sent(self, event: events.MessageSent) -> 
None:
         if not event.message:
             return
 
+        if self.contact.is_groupchat:
+            return
+
         message_id = event.message_id
 
         if event.label:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dcd120eb78c3f3c0f7c7261d2dded09eac18c351

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dcd120eb78c3f3c0f7c7261d2dded09eac18c351
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to