summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-01-21 23:22:28 +0100
committermathieui <mathieui@mathieui.net>2016-01-21 23:22:28 +0100
commit2e2b97c53bb707f93d46744aaedf21fc032f6e10 (patch)
tree4b683baac419d345ffe431653d20ce68118f3309
parentfbc856277944e063e7754c7c597aba7eb46a3eca (diff)
parenta35df7fe1fbc685d9ca17819090c98d2128e9df6 (diff)
downloadslixmpp-2e2b97c53bb707f93d46744aaedf21fc032f6e10.tar.gz
slixmpp-2e2b97c53bb707f93d46744aaedf21fc032f6e10.tar.bz2
slixmpp-2e2b97c53bb707f93d46744aaedf21fc032f6e10.tar.xz
slixmpp-2e2b97c53bb707f93d46744aaedf21fc032f6e10.zip
Merge branch 'xep_0012_fix' of https://github.com/misuzu/slixmpp
-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={