|
|
@ -51,8 +51,12 @@ class StatusMessageList extends StatelessWidget {
|
|
|
|
.map((userId) => client.presences[userId])
|
|
|
|
.map((userId) => client.presences[userId])
|
|
|
|
.whereType<CachedPresence>(),
|
|
|
|
.whereType<CachedPresence>(),
|
|
|
|
future: Future.wait(
|
|
|
|
future: Future.wait(
|
|
|
|
client.interestingPresences
|
|
|
|
client.interestingPresences.map(
|
|
|
|
.map((userId) => client.fetchCurrentPresence(userId)),
|
|
|
|
(userId) => client.fetchCurrentPresence(
|
|
|
|
|
|
|
|
userId,
|
|
|
|
|
|
|
|
fetchFromServer: false,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
builder: (context, snapshot) {
|
|
|
|
builder: (context, snapshot) {
|
|
|
|
final presences =
|
|
|
|
final presences =
|
|
|
|