mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can invite a user to join a group
This commit is contained in:
@ -96,11 +96,13 @@ class _GroupMembersScreenState extends State<GroupMembersScreen> {
|
||||
final userID = await showPickUserDialog(context);
|
||||
if (userID == null) return;
|
||||
|
||||
print("Invite user: $userID");
|
||||
await GroupsHelper.sendInvitation(widget.groupID, userID);
|
||||
} catch (e, s) {
|
||||
print("Could not invite a user! $e\n$s");
|
||||
showSimpleSnack(context, tr("Could not invite a user!"));
|
||||
}
|
||||
|
||||
_key.currentState.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user