summaryrefslogtreecommitdiff
path: root/poezio/fixes.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-02-10 18:42:54 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2022-02-25 22:35:30 +0100
commitaaa6911a393529d67c3b80d3c68614c950204a39 (patch)
treef4925e1e70cb8ffc72ff249eee670c1e20464130 /poezio/fixes.py
parentfbd3d0bcfdf31f20614817710d81c9ba88c70194 (diff)
downloadpoezio-aaa6911a393529d67c3b80d3c68614c950204a39.tar.gz
poezio-aaa6911a393529d67c3b80d3c68614c950204a39.tar.bz2
poezio-aaa6911a393529d67c3b80d3c68614c950204a39.tar.xz
poezio-aaa6911a393529d67c3b80d3c68614c950204a39.zip
clean: remove unused imports
Diffstat (limited to 'poezio/fixes.py')
-rw-r--r--poezio/fixes.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/poezio/fixes.py b/poezio/fixes.py
index 2d5107fb..7383154f 100644
--- a/poezio/fixes.py
+++ b/poezio/fixes.py
@@ -5,17 +5,14 @@ upstream.
TODO: Check that they are fixed and remove those hacks
"""
-import asyncio
-from typing import Callable, Any
-from slixmpp import Message, Iq, ClientXMPP
-from slixmpp.xmlstream import ET
+from slixmpp import ClientXMPP, Message
import logging
log = logging.getLogger(__name__)
-def _filter_add_receipt_request(self, stanza):
+def _filter_add_receipt_request(self: ClientXMPP, stanza):
"""
Auto add receipt requests to outgoing messages, if: