summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0256.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0256.py')
-rw-r--r--sleekxmpp/plugins/xep_0256.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0256.py b/sleekxmpp/plugins/xep_0256.py
index 2938868d..265a5da8 100644
--- a/sleekxmpp/plugins/xep_0256.py
+++ b/sleekxmpp/plugins/xep_0256.py
@@ -9,7 +9,7 @@
import logging
from sleekxmpp import Presence
-from sleekxmpp.plugins import BasePlugin
+from sleekxmpp.plugins import BasePlugin, register_plugin
from sleekxmpp.xmlstream import register_stanza_plugin
from sleekxmpp.plugins.xep_0012 import stanza, LastActivity
@@ -62,3 +62,6 @@ class XEP_0256(BasePlugin):
if seconds is not None:
stanza['last_activity']['seconds'] = seconds
return stanza
+
+
+register_plugin(XEP_0256)