mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can update following status of a group
This commit is contained in:
@ -148,6 +148,14 @@ class GroupsHelper {
|
||||
"accept": accept ? "true" : "false",
|
||||
});
|
||||
|
||||
/// Update group following status
|
||||
Future<bool> setFollowing(int groupID, bool follow) async =>
|
||||
(await (APIRequest(uri: "groups/set_following", needLogin: true)
|
||||
..addInt("groupID", groupID)
|
||||
..addBool("follow", follow))
|
||||
.exec())
|
||||
.isOK;
|
||||
|
||||
/// Get advanced information about the user
|
||||
Future<GetAdvancedInfoResult> getAdvancedInfo(int groupID) async {
|
||||
// Get advanced information about the user
|
||||
|
Reference in New Issue
Block a user