summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-13 21:23:03 +0100
committermathieui <mathieui@mathieui.net>2021-03-13 22:15:42 +0100
commit45440074efddc7d3b0427ad00b53dc58b86fb888 (patch)
tree384aa83768b5501713cc5d990684a8e802951e17 /poezio
parent7d40878c0b14f8559ac52adeb1de44be957e116b (diff)
downloadpoezio-45440074efddc7d3b0427ad00b53dc58b86fb888.tar.gz
poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.tar.bz2
poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.tar.xz
poezio-45440074efddc7d3b0427ad00b53dc58b86fb888.zip
fix: fix global /last_activity
Diffstat (limited to 'poezio')
-rw-r--r--poezio/core/commands.py2
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