summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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