mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-25 22:22: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:
@@ -157,6 +157,7 @@ namespace {
|
||||
}
|
||||
IChatLog::ChatQuery q;
|
||||
q.includePrivate = true;
|
||||
q.includeWhispers = true;
|
||||
q.limit = CHAT_PAGE;
|
||||
for (uint32_t page = 0; page < CHAT_PAGES && g_ChatSeen < newest; page++) {
|
||||
q.afterId = g_ChatSeen;
|
||||
|
||||
Reference in New Issue
Block a user