mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-21 04:02:48 +00:00
feat(dashboard): reading whispers is its own permission
chat_dms (GM 8) reads whispers; chat_private is now team and guild chat only. Adds chat_flag and chat_flag_review (GM 3). Both can be granted per account or character with the permission grants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -130,6 +130,7 @@ namespace {
|
||||
q.characterId = characterId;
|
||||
q.accountId = accountId;
|
||||
q.includePrivate = Can(context, "chat_private");
|
||||
q.includeWhispers = Can(context, "chat_dms");
|
||||
q.newestFirst = true;
|
||||
q.limit = 100;
|
||||
nlohmann::json rows = nlohmann::json::array();
|
||||
|
||||
Reference in New Issue
Block a user