add group moderation and banning functionality to api (#13)

* add group moderation and banning functionality to api

* set moderator to false on group migration

* send IsModerator in addition on group join

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
rootdarkarchon 2022-10-06 15:50:15 +02:00 committed by GitHub
parent 6ffad7f723
commit a45a923260
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1297 additions and 42 deletions

View file

@ -8,4 +8,5 @@ public class GroupPair
public User GroupUser { get; set; }
public bool IsPaused { get; set; }
public bool IsPinned { get; set; }
public bool IsModerator { get; set; }
}