make wheel building work again -- switch manylinux2014 (#1522)

This commit is contained in:
holger krekel
2020-05-23 21:57:50 +02:00
committed by GitHub
parent 0ea442ca36
commit d4ddc2f9da
9 changed files with 54 additions and 14 deletions

View File

@@ -14,8 +14,11 @@ class EchoPlugin:
# unconditionally accept the chat
message.accept_sender_contact()
addr = message.get_sender_contact().addr
text = message.text
message.chat.send_text("echoing from {}:\n{}".format(addr, text))
if message.is_system_message():
message.chat.send_text("echoing system message from {}:\n{}".format(addr, message))
else:
text = message.text
message.chat.send_text("echoing from {}:\n{}".format(addr, text))
@account_hookimpl
def ac_message_delivered(self, message):