Move XEP-0060 to new system.

This commit is contained in:
Lance Stout
2012-03-11 21:37:13 -07:00
parent ad8fd91b7a
commit 1aecb2293a
3 changed files with 49 additions and 27 deletions

View File

@@ -1,2 +1,19 @@
from sleekxmpp.plugins.xep_0060.pubsub import xep_0060
"""
SleekXMPP: The Sleek XMPP Library
Copyright (C) 2011 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_0060.pubsub import XEP_0060
from sleekxmpp.plugins.xep_0060 import stanza
register_plugin(XEP_0060)
# Retain some backwards compatibility
xep_0060 = XEP_0060