From aaa6911a393529d67c3b80d3c68614c950204a39 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 10 Feb 2022 18:42:54 +0100 Subject: clean: remove unused imports --- poezio/fixes.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'poezio/fixes.py') 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: -- cgit v1.2.3