api!: remove data from DC_EVENT_INCOMING_MSG_BUNCH

It is not used by existing clients
and incorrectly included all downloaded messages,
including outgoing messages and MDNs.
This commit is contained in:
link2xt
2024-03-19 11:46:16 +00:00
parent 0f5d5dd2b2
commit 1ebbe26ebb
5 changed files with 13 additions and 26 deletions

View File

@@ -107,10 +107,7 @@ pub enum EventType {
},
/// Downloading a bunch of messages just finished.
IncomingMsgBunch {
/// List of incoming message IDs.
msg_ids: Vec<MsgId>,
},
IncomingMsgBunch,
/// Messages were seen or noticed.
/// chat id is always set.