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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue