refine bot testing and ac_member* handling

This commit is contained in:
holger krekel
2020-04-19 11:08:08 +02:00
parent 9eda710538
commit a1c82eaea6
6 changed files with 48 additions and 42 deletions

View File

@@ -21,6 +21,10 @@ class GroupTrackingPlugin:
def ac_configure_completed(self, success):
print("*** ac_configure_completed:", success)
@account_hookimpl
def ac_chat_modified(self, chat):
print("*** ac_chat_modified:", chat.id, chat.get_name())
@account_hookimpl
def ac_member_added(self, chat, contact, sender):
print("*** ac_member_added {} to chat {} from {}".format(