mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 06:22:34 +01:00
fix: Do not copy room list
This commit is contained in:
parent
fcc66d2820
commit
36fac99de6
@ -261,7 +261,9 @@ class _ChatListViewBody extends StatelessWidget {
|
||||
future: controller.waitForFirstSync(),
|
||||
builder: (BuildContext context, snapshot) {
|
||||
if (Matrix.of(context).client.prevBatch != null) {
|
||||
final rooms = List<Room>.from(Matrix.of(context).client.rooms)
|
||||
final rooms = Matrix.of(context)
|
||||
.client
|
||||
.rooms
|
||||
.where(controller.roomCheck)
|
||||
.toList();
|
||||
if (rooms.isEmpty) {
|
||||
|
Loading…
Reference in New Issue
Block a user