mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
fix buffer handling so that the group-tracking bot example passes
This commit is contained in:
@@ -12,6 +12,10 @@ class GroupTrackingPlugin:
|
||||
for member in message.chat.get_contacts():
|
||||
print("chat member: {}".format(member.addr))
|
||||
|
||||
@deltachat.hookspec.account_hookimpl
|
||||
def configure_completed(self, success):
|
||||
print("*** configure_completed:", success)
|
||||
|
||||
@deltachat.hookspec.account_hookimpl
|
||||
def member_added(self, chat, contact):
|
||||
print("*** member_added", contact.addr, "from", chat)
|
||||
|
||||
Reference in New Issue
Block a user