diff --git a/lib/pages/chat_list/status_msg_list.dart b/lib/pages/chat_list/status_msg_list.dart index c6e2dad6..68bd9f26 100644 --- a/lib/pages/chat_list/status_msg_list.dart +++ b/lib/pages/chat_list/status_msg_list.dart @@ -54,7 +54,7 @@ class StatusMessageList extends StatelessWidget { client.interestingPresences.map( (userId) => client.fetchCurrentPresence( userId, - fetchFromServer: false, + fetchOnlyFromCached: true, ), ), ), diff --git a/pubspec.lock b/pubspec.lock index a008485e..ab9190f6 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1152,12 +1152,11 @@ packages: matrix: dependency: "direct main" description: - path: "." - ref: "krille/fetch-presence-database-only" - resolved-ref: "5d0c5c5510aefbf78c9e35895debd7ff51f46e22" - url: "https://github.com/famedly/matrix-dart-sdk.git" - source: git - version: "0.25.0" + name: matrix + sha256: "7737fb01c48beec3a9c1961975fe74774ab7b88ccb16666524436d98116ea7cc" + url: "https://pub.dev" + source: hosted + version: "0.25.1" matrix_api_lite: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 7c1c7ed7..15001d64 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: keyboard_shortcuts: ^0.1.4 latlong2: ^0.8.1 linkify: ^5.0.0 - matrix: ^0.25.0 + matrix: ^0.25.1 native_imaging: ^0.1.0 package_info_plus: ^4.0.0 pasteboard: ^0.2.0 @@ -159,15 +159,10 @@ dependency_overrides: git: url: https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git ref: null-safety - # Until https://github.com/famedly/matrix-dart-sdk/pull/1661 is merged - matrix: - git: - url: https://github.com/famedly/matrix-dart-sdk.git - ref: krille/fetch-presence-database-only # blocked upgrade of package_info_plus for null safety # https://github.com/creativecreatorormaybenot/wakelock/pull/203 wakelock_windows: git: url: https://github.com/chandrabezzo/wakelock.git ref: main - path: wakelock_windows/ \ No newline at end of file + path: wakelock_windows/