This commit is contained in:
parent
48f62c8c02
commit
33624d3b02
9 changed files with 114 additions and 3 deletions
|
|
@ -24,6 +24,8 @@ public:
|
|||
std::vector<models::ChatMessage> getMessages(const std::string& realmId,
|
||||
int limit = 100,
|
||||
int64_t beforeTimestamp = 0);
|
||||
// Get messages from ALL active realms (for global chat history)
|
||||
std::vector<models::ChatMessage> getGlobalMessages(int limit = 100);
|
||||
bool deleteMessage(const std::string& realmId, const std::string& messageId);
|
||||
void cleanupOldMessages(const std::string& realmId, int retentionHours);
|
||||
void cleanupExpiredSelfDestruct(const std::string& realmId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue