diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 7a160d693..bbaf3ecc1 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -4504,15 +4504,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot); #define DC_EVENT_SECUREJOIN_JOINER_PROGRESS 2061 -/** - * (DEPRECATED) - * - * @param data1 (int) chat_id - * @param data2 (int) contact_id - * @return 0 - */ -#define DC_EVENT_SECUREJOIN_MEMBER_ADDED 2062 - /** * This event is sent for each member that gets added to a (verified or unverified) chat. * @@ -4520,7 +4511,7 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot); * @param data2 (int) contact_id * @return 0 */ -#define DC_EVENT_MEMBER_ADDED 2063 +#define DC_EVENT_MEMBER_ADDED 2062 /** * This event is sent for each member that gets removed from a (verified or unverified) chat. @@ -4529,7 +4520,7 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot); * @param data2 (int) contact_id * @return 0 */ -#define DC_EVENT_MEMBER_REMOVED 2064 +#define DC_EVENT_MEMBER_REMOVED 2063 /** * @} diff --git a/python/CHANGELOG b/python/CHANGELOG index 82b6402cb..f972ed346 100644 --- a/python/CHANGELOG +++ b/python/CHANGELOG @@ -5,8 +5,10 @@ - introduced PerAccount and Global hooks that plugins can implement -- introduced `member_added()` plugin event. +- introduced `member_added()` and `member_removed` plugin events. +- introduced two documented examples for an echo and a group-membership + tracking plugin. 0.800.0 ------- diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index 78b21686d..80f68449a 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -46,7 +46,7 @@ class Account(object): ) hook = hookspec.Global._get_plugin_manager().hook - hook.account_init(account=self, db_path=db_path) + hook.account_init(account=self) self._threads = iothreads.IOThreads(self) self._hook_event_queue = queue.Queue()