chore: Better routing to space id

This commit is contained in:
Christian Kußowski 2025-10-19 13:16:39 +02:00
commit 70c5f03e8d
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 7 additions and 0 deletions

View file

@ -72,11 +72,13 @@ extension LocalizedActiveFilter on ActiveFilter {
class ChatList extends StatefulWidget {
static BuildContext? contextForVoip;
final String? activeChat;
final String? activeSpace;
final bool displayNavigationRail;
const ChatList({
super.key,
required this.activeChat,
this.activeSpace,
this.displayNavigationRail = false,
});
@ -400,6 +402,7 @@ class ChatListController extends State<ChatList>
@override
void initState() {
_initReceiveSharingIntent();
_activeSpaceId = widget.activeSpace;
scrollController.addListener(_onScroll);
_waitForFirstSync();