mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Reuse files on disk for outgoing messages
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user