summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0184/reciept.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-03 16:08:27 +0100
committerLance Stout <lancestout@gmail.com>2012-02-03 16:08:27 +0100
commitd565e4be2084eee14b93c753765b82b5d0f00cd1 (patch)
treebe69a4e509f50d1af2b04767928238448b1b5958 /sleekxmpp/plugins/xep_0184/reciept.py
parent85dd005abc9496314f954ed6dbdc22f79387c308 (diff)
downloadslixmpp-d565e4be2084eee14b93c753765b82b5d0f00cd1.tar.gz
slixmpp-d565e4be2084eee14b93c753765b82b5d0f00cd1.tar.bz2
slixmpp-d565e4be2084eee14b93c753765b82b5d0f00cd1.tar.xz
slixmpp-d565e4be2084eee14b93c753765b82b5d0f00cd1.zip
Fix XEP-0184 imports
Diffstat (limited to 'sleekxmpp/plugins/xep_0184/reciept.py')
-rw-r--r--sleekxmpp/plugins/xep_0184/reciept.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0184/reciept.py b/sleekxmpp/plugins/xep_0184/reciept.py
index 36105fd4..0cbc833d 100644
--- a/sleekxmpp/plugins/xep_0184/reciept.py
+++ b/sleekxmpp/plugins/xep_0184/reciept.py
@@ -9,7 +9,7 @@
from sleekxmpp.stanza import Message
from sleekxmpp.xmlstream import register_stanza_plugin
from sleekxmpp.plugins.base import base_plugin
-from stanza import Request, Received
+from sleekxmpp.plugins.xep_0184 import stanza, Request, Received
class xep_0184(base_plugin):
@@ -20,6 +20,8 @@ class xep_0184(base_plugin):
def plugin_init(self):
self.xep = '0184'
self.description = 'Message Delivery Receipts'
+ self.stanza = stanza
+
register_stanza_plugin(Message, Request)
register_stanza_plugin(Message, Received)