summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 05814f19..d7afd773 100644
--- a/src/core.py
+++ b/src/core.py
@@ -2148,6 +2148,8 @@ class Core(object):
(' and his/her last status was %s' % status) if status else '',)
self.information(msg, 'Info')
jid = safeJID(arg)
+ if jid == '':
+ return self.command_help('activity')
self.xmpp.plugin['xep_0012'].get_last_activity(jid, block=False, callback=callback)
def completion_activity(self, the_input):