mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can change group virtual directory
This commit is contained in:
@ -193,6 +193,16 @@ class GroupsHelper {
|
||||
return groupInfo.info;
|
||||
}
|
||||
|
||||
/// Check the availability of a virtual directory
|
||||
///
|
||||
/// Throws in case of error
|
||||
static Future<void> checkVirtualDirectoryAvailability(
|
||||
int groupID, String dir) async =>
|
||||
await APIRequest(uri: "groups/checkVirtualDirectory", needLogin: true)
|
||||
.addInt("groupID", groupID)
|
||||
.addString("directory", dir)
|
||||
.execWithThrow();
|
||||
|
||||
/// Update (set) new group settings
|
||||
///
|
||||
/// Throws in case of error
|
||||
|
Reference in New Issue
Block a user