diff options
author | mathieui <mathieui@mathieui.net> | 2013-03-01 01:54:54 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-03-01 01:54:54 +0100 |
commit | 6afc1f915c7b736920ae97c6be4046e356c1bc28 (patch) | |
tree | 5d9968d3c0df75ad66c99903e665795ddd896cb3 | |
parent | 074d8dadfe4b3cb0ae4e5fa7017bf274c3348270 (diff) | |
download | poezio-6afc1f915c7b736920ae97c6be4046e356c1bc28.tar.gz poezio-6afc1f915c7b736920ae97c6be4046e356c1bc28.tar.bz2 poezio-6afc1f915c7b736920ae97c6be4046e356c1bc28.tar.xz poezio-6afc1f915c7b736920ae97c6be4046e356c1bc28.zip |
Fix #2226 (TB on /activity)
-rw-r--r-- | src/core.py | 2 |
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): |