diff options
author | wurstsalat <mailtrash@posteo.de> | 2022-10-06 00:36:35 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2022-10-06 00:42:56 +0300 |
commit | 98beb62c9a86fb45a0d248fe9cfc8fe6bda4d90f (patch) | |
tree | 076c6f17d32cf4ae0151a8ff148834f51078ca9e | |
parent | c71ca59b067ed3f76b93ee2f09c32969ab0c7cfe (diff) |
cfix: Control: Don’t add call row for every jingle request type
-rw-r--r-- | gajim/gtk/control.py | 4 |
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: |