mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 12:25:11 +00:00
chore: Follow up fetch presences from server
This commit is contained in:
parent
4b8c94f4a5
commit
4214785b00
3 changed files with 17 additions and 7 deletions
|
@ -51,8 +51,12 @@ class StatusMessageList extends StatelessWidget {
|
|||
.map((userId) => client.presences[userId])
|
||||
.whereType<CachedPresence>(),
|
||||
future: Future.wait(
|
||||
client.interestingPresences
|
||||
.map((userId) => client.fetchCurrentPresence(userId)),
|
||||
client.interestingPresences.map(
|
||||
(userId) => client.fetchCurrentPresence(
|
||||
userId,
|
||||
fetchFromServer: false,
|
||||
),
|
||||
),
|
||||
),
|
||||
builder: (context, snapshot) {
|
||||
final presences =
|
||||
|
|
|
@ -1152,10 +1152,11 @@ packages:
|
|||
matrix:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: matrix
|
||||
sha256: "7cfc028910b51dee3b8f4e81e8124e2bf3daf9cc8ec07414840f2972ec91080b"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
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"
|
||||
matrix_api_lite:
|
||||
dependency: transitive
|
||||
|
|
|
@ -159,10 +159,15 @@ 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/
|
||||
path: wakelock_windows/
|
Loading…
Reference in a new issue