mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Fix XEP-0184 imports
This commit is contained in:
parent
85dd005abc
commit
d565e4be20
2 changed files with 4 additions and 2 deletions
|
@ -6,5 +6,5 @@
|
||||||
See the file LICENSE for copying permission.
|
See the file LICENSE for copying permission.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from sleekxmpp.plugins.xep_0184.reciept import xep_0184
|
|
||||||
from sleekxmpp.plugins.xep_0184.stanza import Request, Received
|
from sleekxmpp.plugins.xep_0184.stanza import Request, Received
|
||||||
|
from sleekxmpp.plugins.xep_0184.reciept import xep_0184
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
from sleekxmpp.stanza import Message
|
from sleekxmpp.stanza import Message
|
||||||
from sleekxmpp.xmlstream import register_stanza_plugin
|
from sleekxmpp.xmlstream import register_stanza_plugin
|
||||||
from sleekxmpp.plugins.base import base_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):
|
class xep_0184(base_plugin):
|
||||||
|
@ -20,6 +20,8 @@ class xep_0184(base_plugin):
|
||||||
def plugin_init(self):
|
def plugin_init(self):
|
||||||
self.xep = '0184'
|
self.xep = '0184'
|
||||||
self.description = 'Message Delivery Receipts'
|
self.description = 'Message Delivery Receipts'
|
||||||
|
self.stanza = stanza
|
||||||
|
|
||||||
register_stanza_plugin(Message, Request)
|
register_stanza_plugin(Message, Request)
|
||||||
register_stanza_plugin(Message, Received)
|
register_stanza_plugin(Message, Received)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue