Files
chatmail-core/src
Hocuri ffd57772e9 Add DC_EVENT_INCOMING_MSG_BUNCH event (#3643)
* Add DC_EVENT_INCOMING_MSG event

* Fix lots of compile errors

* Docs

* Changelog

* Fix python tests

Adding DC_EVENT_INCOMING_MSG_BUNCH made the python tests fail because they use `get_matching("DC_EVENT_INCOMING_MSG")`, which also matches DC_EVENT_INCOMING_MSG_BUNCH, so the tests got confused.

This fixes `get_matching()` to only match whole event names.

* Also fix test_ac_setup_message_twice()

The built regex was ^EVENT_NAME1|EVENT_NAME2$, which becomes parsed as
"^EVENT_NAME1" OR "EVENT_NAME2$". Introduce a group (parentheses) to fix
this.

* desktop will use DC_EVENT_INCOMING_MSG_BUNCH,
so I would not call it experimental anymore

* add generated node constants

* msg_ids in the event as Vec<u32>
number[] in js land

this is way more convinient than a json encoded string.

* Apply suggestions from code review

Co-authored-by: bjoern <r10s@b44t.com>

Co-authored-by: Simon Laux <mobile.info@simonlaux.de>
Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
Co-authored-by: bjoern <r10s@b44t.com>
2022-11-06 17:17:48 +00:00
..
2022-07-01 12:20:20 +02:00
2022-09-29 18:32:17 +02:00
2022-11-03 15:44:35 +00:00
2022-10-10 15:14:17 +00:00
2022-01-07 14:22:37 +00:00
2022-11-05 10:10:50 +01:00
2022-11-04 23:27:01 +00:00
2022-07-01 12:20:20 +02:00
2022-11-03 20:18:14 +00:00
2022-11-03 15:44:35 +00:00
2022-07-01 12:20:20 +02:00
2022-11-03 15:44:35 +00:00
2022-06-27 14:05:21 +02:00
2022-11-03 15:44:35 +00:00
2022-07-01 12:20:20 +02:00
2022-07-01 12:20:20 +02:00
2022-11-03 15:44:35 +00:00
2022-11-03 15:44:35 +00:00
2022-07-01 12:20:20 +02:00
2022-11-03 15:44:35 +00:00
2022-11-03 20:18:14 +00:00
2022-10-23 11:25:27 +00:00
2022-10-10 15:14:17 +00:00
2022-07-01 12:20:20 +02:00
2022-07-05 14:20:01 +02:00
2022-07-01 12:20:20 +02:00
2022-11-03 15:44:35 +00:00
2022-07-01 12:20:20 +02:00
2022-11-03 15:44:35 +00:00