address @adbenitez and @r10s comments

This commit is contained in:
holger krekel
2020-03-06 10:47:07 +01:00
parent f38386d164
commit 6f8067ffd3
3 changed files with 6 additions and 13 deletions

View File

@@ -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
/**
* @}

View File

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

View File

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