Update XEP-0012 plugin to use new api.

This commit is contained in:
Lance Stout
2012-04-02 21:57:10 -07:00
parent 898f5f4b51
commit 3161f104c7
4 changed files with 203 additions and 122 deletions
+19
View File
@@ -0,0 +1,19 @@
"""
SleekXMPP: The Sleek XMPP Library
Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout
This file is part of SleekXMPP.
See the file LICENSE for copying permission.
"""
from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0012.stanza import LastActivity
from sleekxmpp.plugins.xep_0012.last_activity import XEP_0012
register_plugin(XEP_0012)
# Retain some backwards compatibility
xep_0004 = XEP_0012