mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
emit MsgsChanged(chat_id, 0) on full downloads (#2696)
before, MsgsChanged(chat_id, new_msg_id) was emitted, but that does not cover the deleted message. in theory, we could emit both, however, that would just be a waste of refresh in uis. also before, events were used this way, however, also the documentations are updated to reflect reality better.
This commit is contained in:
@@ -5141,8 +5141,8 @@ void dc_event_unref(dc_event_t* event);
|
||||
* - Chats created, deleted or archived
|
||||
* - A draft has been set
|
||||
*
|
||||
* @param data1 (int) chat_id for single added messages
|
||||
* @param data2 (int) msg_id for single added messages
|
||||
* @param data1 (int) chat_id if only a single chat is affected by the changes, otherwise 0
|
||||
* @param data2 (int) msg_id if only a single message is affected by the changes, otherwise 0
|
||||
*/
|
||||
#define DC_EVENT_MSGS_CHANGED 2000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user