mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
make wheel building work again -- switch manylinux2014 (#1522)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user