Merge pull request #5350 from Cockatrice/fix_1953

Allow Moderators/Admins to Grant Replay Access
This commit is contained in:
Zach H 2024-12-27 18:51:11 -05:00 committed by GitHub
commit 8bc5a9d581
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 129 additions and 5 deletions

View file

@ -7,6 +7,7 @@ message ModeratorCommand {
WARN_HISTORY = 1003;
WARN_LIST = 1004;
VIEWLOG_HISTORY = 1005;
GRANT_REPLAY_ACCESS = 1006;
}
extensions 100 to max;
}
@ -71,3 +72,11 @@ message Command_ViewLogHistory {
required uint32 date_range = 7; // the length of time (in minutes) to look back for
optional uint32 maximum_results = 8; // the maximum number of query results
}
message Command_GrantReplayAccess {
extend ModeratorCommand {
optional Command_GrantReplayAccess ext = 1006;
}
optional uint32 replay_id = 1;
optional string moderator_name = 2;
}