don't send a new presence when we only want to change pep info
This commit is contained in:
parent
77042883c3
commit
5f55a54e76
|
@ -1941,6 +1941,9 @@ class RosterWindow:
|
||||||
child_iterA = self._get_account_iter(account, self.model)
|
child_iterA = self._get_account_iter(account, self.model)
|
||||||
if status != 'offline':
|
if status != 'offline':
|
||||||
if to is None:
|
if to is None:
|
||||||
|
if status == gajim.connections[account].get_status() and \
|
||||||
|
txt == gajim.connections[account].status:
|
||||||
|
return
|
||||||
gajim.config.set_per('accounts', account, 'last_status', status)
|
gajim.config.set_per('accounts', account, 'last_status', status)
|
||||||
gajim.config.set_per('accounts', account, 'last_status_msg',
|
gajim.config.set_per('accounts', account, 'last_status_msg',
|
||||||
helpers.to_one_line(txt))
|
helpers.to_one_line(txt))
|
||||||
|
|
Loading…
Reference in New Issue