Save storage for defunct and pending call links

This commit is contained in:
ayumi-signal
2024-10-22 11:20:35 -07:00
committed by GitHub
parent a7be33b201
commit c6902ec26a
10 changed files with 474 additions and 31 deletions

View File

@@ -185,12 +185,14 @@ import {
deleteCallLinkAndHistory,
getAllAdminCallLinks,
getAllCallLinkRecordsWithAdminKey,
getAllDefunctCallLinksWithAdminKey,
getAllMarkedDeletedCallLinkRoomIds,
finalizeDeleteCallLink,
beginDeleteCallLink,
deleteCallLinkFromSync,
_removeAllCallLinks,
insertDefunctCallLink,
updateDefunctCallLink,
} from './server/callLinks';
import {
replaceAllEndorsementsForGroup,
@@ -321,6 +323,7 @@ export const DataReader: ServerReadableInterface = {
getCallLinkRecordByRoomId,
getAllAdminCallLinks,
getAllCallLinkRecordsWithAdminKey,
getAllDefunctCallLinksWithAdminKey,
getAllMarkedDeletedCallLinkRoomIds,
getMessagesBetween,
getNearbyMessageFromDeletedSet,
@@ -464,6 +467,7 @@ export const DataWriter: ServerWritableInterface = {
_removeAllCallLinks,
deleteCallLinkFromSync,
insertDefunctCallLink,
updateDefunctCallLink,
migrateConversationMessages,
saveEditedMessage,
saveEditedMessages,