don't show audio error when it's not an audio error. Fixes #8614
This commit is contained in:
parent
f36860e37d
commit
2dedf38f51
|
@ -1348,7 +1348,7 @@ class Interface:
|
|||
account = obj.conn.name
|
||||
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)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue