Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
98beb62c by wurstsalat at 2022-10-05T23:42:56+02:00
cfix: Control: Don’t add call row for every jingle request type

- - - - -


1 changed file:

- gajim/gtk/control.py


Changes:

=====================================
gajim/gtk/control.py
=====================================
@@ -405,6 +405,10 @@ def _on_jingle_request_received(self,
         if not self._is_event_processable(event):
             return
 
+        if not any(item in ('audio', 'video') for item in event.contents):
+            # This is not a call
+            return
+
         active_jid = app.call_manager.get_active_call_jid()
         # Don't add a second row if contact upgrades to video
         if active_jid is None:



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/98beb62c9a86fb45a0d248fe9cfc8fe6bda4d90f
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