Commit Graph

11 Commits (140630745fa46f4e39e4fd3cfeb078681b5398d0)

Author SHA1 Message Date
Jonas Platte 140630745f Fix confusion between initial / stripped state events
InviteState contains stripped state events, and initial state events are
not used anywhere in the sync response.
2021-09-13 11:00:24 +02:00
Jonas Platte 24253128ae
Add support for Option<EncryptionInfo> as event handler context 2021-09-09 21:03:01 +02:00
Jonas Platte 8f46a87f52
Inline handle_sync_events_wrapped
It was only used in one place.
2021-09-09 20:44:25 +02:00
Jonas Platte ce0cb273bb
Use matrix_sdk_common::executor::spawn instead of tokio::spawn 2021-09-08 21:08:23 +02:00
Jonas Platte 699039f788
Better document event context argument restrictions 2021-09-08 20:40:26 +02:00
Jonas Platte c3e25bda1a
Run event / notification handlers in separate async tasks
Prevents deadlocks when new handlers are registered from within an
existing handler.
2021-09-08 20:32:06 +02:00
Jonas Platte 606a57203e
Add some documentation about how the event handler abstraction works 2021-09-08 20:29:09 +02:00
Jonas Platte 3c38b26770
Rewrap doc comments 2021-09-08 20:19:07 +02:00
Jonas Platte 67912f3768
Fix / improve event handler documentation 2021-09-08 19:23:19 +02:00
Jonas Platte bf8945430f
Fix Copyright header 2021-09-08 19:23:03 +02:00
Jonas Platte 2fdad12521
Rewrite event handler abstraction 2021-08-17 00:26:01 +02:00