matrix-dart-sdk/lib/src
Christian Kußowski ba38b1f97f
refactor: Do not store room update for leave rooms not cached anyway
This adds a check before the storeRoomUpdate() call
if the room is actually known. This has the effect
that the call of forgetRoom() is skipped.

The reason for this is an edge case in the database
implementation when calling getAllKeys(). This
somehow can corrupt the keys-cache and lead to
some problems. I wasn't able to fix this problem
yet so this refactoring is more a good-enough
workaround for now to not trigger it on an
initial sync. I plan to fix it with a different
approach which completely removes the keys-cache
in the future.

However this change leads to some problems in the
tests as they already rely on this edge case.
2025-06-02 10:08:19 +02:00
..
database refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +02:00
models refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +02:00
utils refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +02:00
voip fix: handling of existing calls in `onCallInvite` 2025-04-23 22:10:03 +05:30
client.dart refactor: Do not store room update for leave rooms not cached anyway 2025-06-02 10:08:19 +02:00
event.dart refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +02:00
event_status.dart refactor: Remove unused event status roomState 2025-05-08 09:17:10 +02:00
presence.dart chore: add require trailing comma lint 2024-11-07 16:13:37 +01:00
room.dart fix: no user feedback if client.getConfig() takes some time 2025-06-01 18:01:21 +02:00
timeline.dart refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +02:00
user.dart fix: add proper description for `User` class 2025-04-13 21:21:12 +05:30