chore: Follow up fetch presences from server

This commit is contained in:
krille-chan 2023-12-24 08:52:35 +01:00
commit 4214785b00
No known key found for this signature in database
3 changed files with 17 additions and 7 deletions

View file

@ -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 =