summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.py3
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):