From d84071a80454b1edbe6497eda5e23365bd0158a4 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 1 Aug 2014 13:32:07 +0200 Subject: Privacy: do leak our last activy when our status is away or xa --- src/core/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/core.py b/src/core/core.py index 763e4046..75a3d7f5 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -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): -- cgit v1.2.3