[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

@ -0,0 +1,11 @@
syntax = "proto2";
import "response.proto";
message Response_RemoveUserBanner {
extend Response {
optional Response_RemoveUserBanner ext = 1221;
}
optional string user_name = 1;
// false when the user exists but had no banner card set, so nothing was cleared
optional bool had_banner = 2 [default = true];
}