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

@ -150,7 +150,8 @@ class ChatView extends StatelessWidget {
}
},
child: StreamBuilder(
stream: controller.room.onUpdate.stream
stream: controller.room.client.onRoomState.stream
.where((update) => update.roomId == controller.room.id)
.rateLimit(const Duration(seconds: 1)),
builder: (context, snapshot) => FutureBuilder(
future: controller.loadTimelineFuture,