diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-08-01 13:32:07 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-08-01 13:32:07 +0200 |
commit | d84071a80454b1edbe6497eda5e23365bd0158a4 (patch) | |
tree | ab496083e3a89c192773c2551ef3861603414cd3 | |
parent | 6250ba345e8077ee913bd1fa2a3d5e2c5ae0c416 (diff) | |
download | poezio-d84071a80454b1edbe6497eda5e23365bd0158a4.tar.gz poezio-d84071a80454b1edbe6497eda5e23365bd0158a4.tar.bz2 poezio-d84071a80454b1edbe6497eda5e23365bd0158a4.tar.xz poezio-d84071a80454b1edbe6497eda5e23365bd0158a4.zip |
Privacy: do leak our last activy when our status is away or xa
-rw-r--r-- | src/core/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |