matrix-dart-sdk/lib/src
Nicolas Werner 83298cc98b fix: own profile containing mxid
There are a few ways to fix this. We could skip events, where we don't
have the state in memory yet or always do a /profile request and cache
that.

I chose to go with loading the event from the database if necessary. If
we have a room in the db, we should have our memberevent in the db. In
some cases we might not (if the server thinks our memberevent is super
redundant), but I think the spec doesn't really allow that and it
doesn't happen in practice. And even if it would, we probably would want
our member event ASAP. And if we have no rooms, we fetch it from the
server as before instead of constructing a member with an MXID as the
username.

fixes https://gitlab.com/famedly/company/frontend/frontend-issue-inbox/-/issues/65
2022-03-15 02:13:09 +01:00
..
database refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
utils fix: UIA request stucks forever on unexpected matrixExceptions 2022-02-17 20:54:03 +01:00
client.dart fix: own profile containing mxid 2022-03-15 02:13:09 +01:00
event.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
event_status.dart refactor: Change event status to enum 2021-10-14 13:31:07 +00:00
room.dart fix: hasNewMessage true when last event is sent 2022-02-16 08:09:57 +01:00
timeline.dart fix: Call onChange on remove aggregation event 2022-02-08 08:34:20 +01:00
user.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
voip.dart fix: Correctly end the call. 2022-02-15 22:02:56 +08:00
voip_content.dart refactor: remove redundant null checks 2021-10-28 14:32:09 +02:00