Merge branch 'main' into flutter-3.22

This commit is contained in:
Krille-chan 2024-05-26 08:41:24 +02:00 committed by GitHub
commit d9edf9f05b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 403 additions and 336 deletions

View file

@ -36,7 +36,8 @@ class ChatDetailsView extends StatelessWidget {
}
return StreamBuilder(
stream: room.onUpdate.stream,
stream: room.client.onRoomState.stream
.where((update) => update.roomId == room.id),
builder: (context, snapshot) {
var members = room.getParticipants().toList()
..sort((b, a) => a.powerLevel.compareTo(b.powerLevel));