matrix-dart-sdk/lib/src
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
..
database fix: Do not return invalid state events from database 2024-06-11 13:01:28 +02:00
models revert: "feat: retry call encryption key request logic" 2024-06-11 18:11:44 +05:30
utils refactor: Use enhanced enums for room enums 2024-05-28 14:25:38 +02:00
voip chore: make ignored call mem logging verbose 2024-06-11 19:00:44 +05:30
client.dart fix: dont override passed powerlevels with groupcall powerlevels 2024-06-11 19:00:39 +05:30
event.dart refactor: Combine sendMessageTimeoutSeconds and sendTimelineEventTimeout 2024-05-20 16:57:55 +02:00
event_status.dart refactor: delete not sent events without eventupdate stream workaround 2024-05-08 12:02:55 +02:00
presence.dart feat: Store presences in database 2023-11-15 06:59:58 +01:00
room.dart fix: Request user causing state update loops for apps 2024-06-14 12:33:25 +02:00
timeline.dart fix: canRequestHistory doesn't reflect reality 2024-05-27 14:55:11 +02:00
user.dart refactor: Use strippedstatevent as base for room state and user class 2024-05-03 14:06:49 +02:00