Support Moderator/Admin force activating users (#5353)

This commit is contained in:
Zach H 2024-12-28 00:01:31 -05:00 committed by GitHub
parent 37b78a9a4c
commit 7a5704beaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 98 additions and 3 deletions

View file

@ -8,6 +8,7 @@ message ModeratorCommand {
WARN_LIST = 1004;
VIEWLOG_HISTORY = 1005;
GRANT_REPLAY_ACCESS = 1006;
FORCE_ACTIVATE_USER = 1007;
}
extensions 100 to max;
}
@ -79,4 +80,12 @@ message Command_GrantReplayAccess {
}
optional uint32 replay_id = 1;
optional string moderator_name = 2;
}
message Command_ForceActivateUser {
extend ModeratorCommand {
optional Command_ForceActivateUser ext = 1007;
}
optional string username_to_activate = 1;
optional string moderator_name = 2;
}