Remove wrong return types for now; Remove unused JID import

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 36e385a6
......@@ -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']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment