Chat list will also show wild group channel

This commit is contained in:
2024-09-16 21:09:19 +08:00
parent 029e72fb0b
commit 47eb6cbc66
2 changed files with 9 additions and 1 deletions

View File

@ -125,7 +125,11 @@ class _ChatScreenState extends State<ChatScreen> {
child: Obx(
() => ChannelListWidget(
noCategory: true,
channels: _channels.directChannels,
channels: List.from([
..._channels.groupChannels
.where((x) => x.realmId == null),
..._channels.directChannels
]),
selfId: selfId,
useReplace: true,
),