Separate calls in sql channel

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-08-12 15:17:29 -05:00 committed by GitHub
parent 55df2d2090
commit a167b0a9d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 90 additions and 45 deletions

View file

@ -24,7 +24,7 @@ import * as Errors from '../types/errors';
import type { StoredJob } from '../jobs/types';
import { formatJobForInsert } from '../jobs/formatJobForInsert';
import { cleanupMessages } from '../util/cleanup';
import { AccessType, ipcInvoke, doShutdown } from './channels';
import { AccessType, ipcInvoke, doShutdown, removeDB } from './channels';
import type {
ClientInterfaceWrap,
@ -124,6 +124,7 @@ const clientOnlyWritable: ClientOnlyWritableInterface = {
flushUpdateConversationBatcher,
removeDB,
shutdown,
removeMessagesInConversation,