matrix-dart-sdk/test
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
..
encryption BREAKING CHANGE: high-level hadling of image sizes 2022-01-19 13:10:17 +01:00
matrix_api refactor: port room test to nullsafety 2021-10-28 03:44:02 +02:00
canonical_json_test.dart refactor: port room test to nullsafety 2021-10-28 03:44:02 +02:00
client_test.dart fix: own profile containing mxid 2022-03-15 02:13:09 +01:00
commands_test.dart feat: Add clear cache command 2021-11-23 09:48:08 +01:00
database_api_test.dart feat: Migrate olm sessions on database migration 2021-11-26 08:17:43 +01:00
device_keys_list_test.dart fix: Dont enable e2ee in test verification DM room 2021-11-09 15:42:43 +01:00
event_test.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
fake_client.dart refactor: nullsafe event test 2021-10-28 03:44:01 +02:00
fake_database.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
fake_matrix_api.dart refactor: Update matrix_api_lite and use SyncUpdate constructors 2021-11-10 10:04:03 +01:00
html_to_text_test.dart fix: HtmlToText crashes with an empty code block 2021-11-16 08:18:07 +01:00
image_pack_test.dart refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
markdown_test.dart refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
matrix_database_test.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
matrix_default_localizations.dart fix: Show reactions as last events and refactor hasNewMessage 2022-02-14 15:06:22 +01:00
matrix_exception_test.dart refactor: port room test to nullsafety 2021-10-28 03:44:02 +02:00
matrix_file_test.dart refactor: remove redundant null checks 2021-10-28 14:32:09 +02:00
matrix_id_string_extension_test.dart refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
matrix_localizations_test.dart refactor: port room test to nullsafety 2021-10-28 03:44:02 +02:00
multilock_test.dart refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
mxc_uri_extension_test.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00
room_test.dart fix: Has new messages compares ts 2022-02-15 10:26:17 +01:00
sync_filter_test.dart refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
timeline_test.dart chore: Bump version 2022-02-08 08:43:19 +01:00
uia_test.dart refactor: port some simple tests to nullsafety 2021-10-28 03:44:02 +02:00
user_test.dart refactor: Remove unnecessary type checks and imports 2021-12-23 11:46:45 +01:00