Move XEP-0202 to new system.

This commit is contained in:
Lance Stout
2012-03-12 00:22:42 -07:00
parent 5a324c01de
commit 6497857495
2 changed files with 16 additions and 11 deletions

View File

@@ -6,7 +6,15 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0202 import stanza
from sleekxmpp.plugins.xep_0202.stanza import EntityTime
from sleekxmpp.plugins.xep_0202.time import xep_0202
from sleekxmpp.plugins.xep_0202.time import XEP_0202
register_plugin(XEP_0202)
# Retain some backwards compatibility
xep_0202 = XEP_0202