matrix-dart-sdk/lib
Nicolas Werner f13d4e1f45
fix: Request user causing state update loops for apps
This completely redoes the requestUser function.

It now doesn't stop requesting a user forever just because of a network
error. But redundant calls are still deduplicated, however their
parameters are taken into account now.

It also now only calls onUpdate and onRoomState when there is actually
new state. This way apps can just listen to updates to rerender instead
of having to implement the deduplication themselves.

It also now doesn't treat member events without membership as "join"
anymore. And lookup errors don't cause an empty user to get inserted
into the room state.

In general this should still request the profile from the server, if the
displayname is unset in a leave event, but it should also allow the app
to actually settle in the tests.
2024-06-14 12:33:25 +02:00
..
encryption refactor: Store not uploaded group sessions in its own database queue 2024-05-20 11:28:08 +02:00
matrix_api_lite perf: check event size in bytes without encoding twice 2024-05-20 16:40:15 +02:00
msc_extensions feat: Implement unpublished MSC custom refresh token lifetime 2024-05-14 10:40:32 +02:00
src fix: Request user causing state update loops for apps 2024-06-14 12:33:25 +02:00
encryption.dart refactor: nullsafe encryption 2021-09-30 12:58:37 +00:00
fake_matrix_api.dart fix: Request user causing state update loops for apps 2024-06-14 12:33:25 +02:00
matrix.dart feat: expose matrixRTCEventStream 2024-05-30 18:21:13 +05:30
matrix_api_lite.dart chore: merge api_lite and dart sdk 2024-03-25 17:22:05 +05:30