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

This commit is contained in:
Florent Le Coz 2014-08-01 13:32:07 +02:00
parent 6250ba345e
commit d84071a804

View file

@ -598,6 +598,7 @@ class Core(object):
self.do_command(replace_line_breaks(char), False)
else:
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.doupdate()