don't show audio error when it's not an audio error. Fixes #8614
This commit is contained in:
parent
f36860e37d
commit
2dedf38f51
1 changed files with 1 additions and 1 deletions
|
@ -1348,7 +1348,7 @@ class Interface:
|
||||||
account = obj.conn.name
|
account = obj.conn.name
|
||||||
ctrl = (self.msg_win_mgr.get_control(obj.fjid, account)
|
ctrl = (self.msg_win_mgr.get_control(obj.fjid, account)
|
||||||
or self.msg_win_mgr.get_control(obj.jid, 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)
|
ctrl.set_audio_state('error', reason=obj.reason)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Add table
Reference in a new issue