Reuse files on disk for outgoing messages

This commit is contained in:
trevor-signal
2026-02-23 15:35:11 -05:00
committed by GitHub
parent 491de86ad3
commit 2b243bb457
12 changed files with 410 additions and 111 deletions

View File

@@ -125,6 +125,11 @@ export class App extends EventEmitter {
public async waitForMessageSend(): Promise<MessageSendInfoType> {
return this.#waitForEvent('message:send-complete');
}
public async waitForMessageToBeCleanedUp(
messageId: string
): Promise<Array<string>> {
return this.#waitForEvent(`message:cleaned-up:${messageId}`);
}
public async waitForConversationOpen(): Promise<ConversationOpenInfoType> {
return this.#waitForEvent('conversation:open');