summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsukasa Hiiragi <bakalolka@gmail.com>2016-01-21 14:59:03 +0200
committerTsukasa Hiiragi <bakalolka@gmail.com>2016-01-21 14:59:03 +0200
commita35df7fe1fbc685d9ca17819090c98d2128e9df6 (patch)
treece31e15aed429704985db73e40d71b99cbeb971c
parentb549db959ab81d834f81f42295349acd3bb0655c (diff)
downloadslixmpp-a35df7fe1fbc685d9ca17819090c98d2128e9df6.tar.gz
slixmpp-a35df7fe1fbc685d9ca17819090c98d2128e9df6.tar.bz2
slixmpp-a35df7fe1fbc685d9ca17819090c98d2128e9df6.tar.xz
slixmpp-a35df7fe1fbc685d9ca17819090c98d2128e9df6.zip
Fixed NameError in start_uptime
-rw-r--r--slixmpp/plugins/xep_0012/last_activity.py2
1 files changed, 1 insertions, 1 deletions
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={