Add group calling events to the message timeline

This commit is contained in:
Evan Hahn
2020-12-07 14:43:19 -06:00
committed by GitHub
parent a2f285d243
commit 0c039bf431
29 changed files with 1275 additions and 239 deletions

View File

@@ -166,6 +166,7 @@ const dataInterface: ClientInterface = {
getLastConversationActivity,
getLastConversationPreview,
getMessageMetricsForConversation,
hasGroupCallHistoryMessage,
migrateConversationMessages,
getUnprocessedCount,
@@ -1056,6 +1057,12 @@ async function getMessageMetricsForConversation(conversationId: string) {
return result;
}
function hasGroupCallHistoryMessage(
conversationId: string,
eraId: string
): Promise<boolean> {
return channels.hasGroupCallHistoryMessage(conversationId, eraId);
}
async function migrateConversationMessages(
obsoleteId: string,
currentId: string