From a35df7fe1fbc685d9ca17819090c98d2128e9df6 Mon Sep 17 00:00:00 2001 From: Tsukasa Hiiragi Date: Thu, 21 Jan 2016 14:59:03 +0200 Subject: Fixed NameError in start_uptime --- slixmpp/plugins/xep_0012/last_activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/plugins/xep_0012/last_activity.py b/slixmpp/plugins/xep_0012/last_activity.py index 6a7773c1..6367e393 100644 --- a/slixmpp/plugins/xep_0012/last_activity.py +++ b/slixmpp/plugins/xep_0012/last_activity.py @@ -66,7 +66,7 @@ class XEP_0012(BasePlugin): self.del_last_activity(jid) def start_uptime(self, status=None): - self.set_last_activity(jid, 0, status) + self.set_last_activity(None, 0, status) def set_last_activity(self, jid=None, seconds=None, status=None): self.api['set_last_activity'](jid, args={ -- cgit v1.2.3