when an account change status, send presence to gc of ONLY this account. Fixes #1380
This commit is contained in:
parent
d52bf25ba2
commit
dceac477d6
|
@ -1534,9 +1534,11 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
|||
passphrase)
|
||||
gajim.connections[account].gpg_passphrase(passphrase)
|
||||
|
||||
for gc_control in gajim.interface.msg_win_mgr.get_controls(message_control.TYPE_GC):
|
||||
gajim.connections[account].send_gc_status(gc_control.nick, gc_control.room_jid,
|
||||
status, txt)
|
||||
for gc_control in gajim.interface.msg_win_mgr.get_controls(
|
||||
message_control.TYPE_GC):
|
||||
if gc_control.account == account:
|
||||
gajim.connections[account].send_gc_status(gc_control.nick,
|
||||
gc_control.room_jid, status, txt)
|
||||
gajim.connections[account].change_status(status, txt, sync, auto)
|
||||
if status == 'online' and gajim.interface.sleeper.getState() != \
|
||||
common.sleepy.STATE_UNKNOWN:
|
||||
|
|
Loading…
Reference in New Issue