diff --git a/examples/echo_client.py b/examples/echo_client.py index 5387f6f..c8d188c 100644 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -17,7 +17,7 @@ import logging from getpass import getpass from argparse import ArgumentParser -from slixmpp import ClientXMPP, JID +from slixmpp import ClientXMPP from slixmpp.stanza import Message from slixmpp_omemo import PluginCouldNotLoad, MissingOwnKey, EncryptionPrepareException from slixmpp_omemo import UndecidedException, UntrustedException, NoAvailableSession @@ -131,7 +131,7 @@ class EchoBot(ClientXMPP): return None - async def plain_reply(self, original_msg, body) -> None: + async def plain_reply(self, original_msg, body): """ Helper to reply to messages """ @@ -142,7 +142,7 @@ class EchoBot(ClientXMPP): msg['body'] = body return msg.send() - async def encrypted_reply(self, original_msg, body) -> None: + async def encrypted_reply(self, original_msg, body): """Helper to reply with encrypted messages""" mto = original_msg['from']