Self-repairing message counter
This commit is contained in:
@@ -277,6 +277,8 @@ const dataInterface: ClientInterface = {
|
||||
processGroupCallRingCancelation,
|
||||
cleanExpiredGroupCallRings,
|
||||
|
||||
getMaxMessageCounter,
|
||||
|
||||
getStatisticsForLogging,
|
||||
|
||||
// Test-only
|
||||
@@ -1656,6 +1658,10 @@ async function updateAllConversationColors(
|
||||
);
|
||||
}
|
||||
|
||||
function getMaxMessageCounter(): Promise<number | undefined> {
|
||||
return channels.getMaxMessageCounter();
|
||||
}
|
||||
|
||||
function getStatisticsForLogging(): Promise<Record<string, string>> {
|
||||
return channels.getStatisticsForLogging();
|
||||
}
|
||||
|
Reference in New Issue
Block a user