Privacy: do leak our last activy when our status is away or xa
This commit is contained in:
parent
6250ba345e
commit
d84071a804
1 changed files with 2 additions and 1 deletions
|
@ -598,6 +598,7 @@ class Core(object):
|
||||||
self.do_command(replace_line_breaks(char), False)
|
self.do_command(replace_line_breaks(char), False)
|
||||||
else:
|
else:
|
||||||
self.do_command(''.join(char_list), True)
|
self.do_command(''.join(char_list), True)
|
||||||
|
if self.status.show not in ('xa', 'away'):
|
||||||
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
|
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
|
||||||
self.doupdate()
|
self.doupdate()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue