Remove wrong return types for now; Remove unused JID import
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
36e385a6ea
commit
7449e5c908
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ import logging
|
||||||
from getpass import getpass
|
from getpass import getpass
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
from slixmpp import ClientXMPP, JID
|
from slixmpp import ClientXMPP
|
||||||
from slixmpp.stanza import Message
|
from slixmpp.stanza import Message
|
||||||
from slixmpp_omemo import PluginCouldNotLoad, MissingOwnKey, EncryptionPrepareException
|
from slixmpp_omemo import PluginCouldNotLoad, MissingOwnKey, EncryptionPrepareException
|
||||||
from slixmpp_omemo import UndecidedException, UntrustedException, NoAvailableSession
|
from slixmpp_omemo import UndecidedException, UntrustedException, NoAvailableSession
|
||||||
|
@ -131,7 +131,7 @@ class EchoBot(ClientXMPP):
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
async def plain_reply(self, original_msg, body) -> None:
|
async def plain_reply(self, original_msg, body):
|
||||||
"""
|
"""
|
||||||
Helper to reply to messages
|
Helper to reply to messages
|
||||||
"""
|
"""
|
||||||
|
@ -142,7 +142,7 @@ class EchoBot(ClientXMPP):
|
||||||
msg['body'] = body
|
msg['body'] = body
|
||||||
return msg.send()
|
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"""
|
"""Helper to reply with encrypted messages"""
|
||||||
|
|
||||||
mto = original_msg['from']
|
mto = original_msg['from']
|
||||||
|
|
Loading…
Reference in a new issue