Commit bf77021d authored by Yann Leboulanger's avatar Yann Leboulanger

don't send a new presence when we only want to change pep info

parent 12934ac1
......@@ -1916,6 +1916,9 @@ def send_status(self, account, status, txt, auto=False, to=None):
child_iterA = self._get_account_iter(account, self.model)
if status != 'offline':
if to is None:
if status == gajim.connections[account].get_status() and \
txt == gajim.connections[account].status:
gajim.config.set_per('accounts', account, 'last_status', status)
gajim.config.set_per('accounts', account, 'last_status_msg',
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