From 45440074efddc7d3b0427ad00b53dc58b86fb888 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 13 Mar 2021 21:23:03 +0100 Subject: fix: fix global /last_activity --- poezio/core/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3