From ab5aea4caf90ce9b680a3ae7f21e3b036a77127d Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Fri, 3 Feb 2023 08:05:44 +0100 Subject: [PATCH] fix: Set room visibility on group creation --- lib/pages/new_group/new_group.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages/new_group/new_group.dart b/lib/pages/new_group/new_group.dart index d5ae9637..29d6278e 100644 --- a/lib/pages/new_group/new_group.dart +++ b/lib/pages/new_group/new_group.dart @@ -26,6 +26,8 @@ class NewGroupController extends State { context: context, future: () async { final roomId = await client.createGroupChat( + visibility: + publicGroup ? sdk.Visibility.public : sdk.Visibility.private, preset: publicGroup ? sdk.CreateRoomPreset.publicChat : sdk.CreateRoomPreset.privateChat,