Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2022-10-06 00:36:35 +0300
committerwurstsalat <mailtrash@posteo.de>2022-10-06 00:42:56 +0300
commit98beb62c9a86fb45a0d248fe9cfc8fe6bda4d90f (patch)
tree076c6f17d32cf4ae0151a8ff148834f51078ca9e
parentc71ca59b067ed3f76b93ee2f09c32969ab0c7cfe (diff)
cfix: Control: Don’t add call row for every jingle request type
-rw-r--r--gajim/gtk/control.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gajim/gtk/control.py b/gajim/gtk/control.py
index b7391ab33..56193087b 100644
--- a/gajim/gtk/control.py
+++ b/gajim/gtk/control.py
@@ -405,6 +405,10 @@ class ChatControl(EventHelper):
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: