diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-13 21:23:03 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-03-13 22:15:42 +0100 |
commit | 45440074efddc7d3b0427ad00b53dc58b86fb888 (patch) | |
tree | 384aa83768b5501713cc5d990684a8e802951e17 | |
parent | 7d40878c0b14f8559ac52adeb1de44be957e116b (diff) | |
download | poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.tar.gz poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.tar.bz2 poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.tar.xz poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.zip |
fix: fix global /last_activity
-rw-r--r-- | poezio/core/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py index ebd8f130..46a95d33 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -914,7 +914,7 @@ class CommandCore: return self.core.information('Invalid JID for /last_activity: %s' % args[0], 'Error') try: - await self.core.xmpp.plugin['xep_0012'].get_last_activity(jid) + iq = await self.core.xmpp.plugin['xep_0012'].get_last_activity(jid) except IqError as error: if error.etype == 'auth': msg = 'You are not allowed to see the activity of %s' % jid |