[Server/Client/Protocol] Let moderators clear banner cards (#7546)

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-10-25 13:19:20 +01:00 • committed by GitHub
parent b4e24f958a
commit 93309e01a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 366 additions and 14 deletions

View file

@ -20,6 +20,8 @@ message ModeratorCommand {
GET_MODERATOR_LAST_LOGINS = 1015;
RESET_USER_PASSWORD = 1016;
REMOVE_USER_AVATAR = 1017;
REMOVE_USER_BANNER = 1018;
CLEAR_BLACKLISTED_BANNERS = 1019;
REPORT_LIST = 1200;
REPORT_ASSIGN = 1201;
REPORT_RESOLVE = 1202;
@ -179,3 +181,16 @@ message Command_RemoveUserAvatar {
}
optional string user_name = 1;
}
message Command_RemoveUserBanner {
extend ModeratorCommand {
optional Command_RemoveUserBanner ext = 1018;
}
optional string user_name = 1;
}
message Command_ClearBlacklistedBanners {
extend ModeratorCommand {
optional Command_ClearBlacklistedBanners ext = 1019;
}
}