mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 13:45:09 +00:00
fix: Set room visibility on group creation
This commit is contained in:
parent
e78b02f67c
commit
541775d675
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ class NewGroupController extends State<NewGroup> {
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue