Commit d84071a8 authored by louiz’'s avatar louiz’

Privacy: do leak our last activy when our status is away or xa

parent 6250ba34
......@@ -598,7 +598,8 @@ class Core(object):
self.do_command(replace_line_breaks(char), False)
else:
self.do_command(''.join(char_list), True)
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
if self.status.show not in ('xa', 'away'):
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
self.doupdate()
def save_config(self):
......
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