Commit 2ce5012b authored by Weblate's avatar Weblate

don't show audio error when it's not an audio error. Fixes #8614

parent c19bad88
......@@ -1330,7 +1330,7 @@ def handle_event_jingle_error(self, obj):
account =
ctrl = (self.msg_win_mgr.get_control(obj.fjid, account)
or self.msg_win_mgr.get_control(obj.jid, account))
if ctrl:
if ctrl and obj.sid == ctrl.audio_sid:
ctrl.set_audio_state('error', reason=obj.reason)
def handle_event_roster_item_exchange(self, obj):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment