fix buffer handling so that the group-tracking bot example passes

This commit is contained in:
holger krekel
2020-03-25 06:34:37 +01:00
parent d4ba09c753
commit 57f879a6ba
5 changed files with 98 additions and 23 deletions

View File

@@ -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)