summaryrefslogtreecommitdiff
path: root/poezio/fixes.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/fixes.py')
-rw-r--r--poezio/fixes.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/poezio/fixes.py b/poezio/fixes.py
index 7383154f..c2db4332 100644
--- a/poezio/fixes.py
+++ b/poezio/fixes.py
@@ -5,14 +5,15 @@ upstream.
TODO: Check that they are fixed and remove those hacks
"""
-from slixmpp import ClientXMPP, Message
+from slixmpp import Message
+from slixmpp.plugins.xep_0184 import XEP_0184
import logging
log = logging.getLogger(__name__)
-def _filter_add_receipt_request(self: ClientXMPP, stanza):
+def _filter_add_receipt_request(self: XEP_0184, stanza):
"""
Auto add receipt requests to outgoing messages, if: