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

Commits:
945b7baa by Philipp Hörist at 2018-03-19T01:34:38+01:00
Only handle event if it belongs to the control

- - - - -


1 changed file:

- gajim/groupchat_control.py


Changes:

=====================================
gajim/groupchat_control.py
=====================================
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -2020,6 +2020,10 @@ class GroupchatControl(ChatControlBase):
     def _message_sent(self, obj):
         if not obj.message:
             return
+        if obj.account != self.account:
+            return
+        if obj.jid != self.room_jid:
+            return
         # we'll save sent message text when we'll receive it in
         # _nec_gc_message_received
         self.last_sent_msg = obj.stanza_id



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/945b7baafbbef11dd2e8c042376fa0f9a00df86e

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/945b7baafbbef11dd2e8c042376fa0f9a00df86e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to