mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-30 05:10:53 +01:00
Remove window.getAccountManager
This commit is contained in:
@@ -14,6 +14,10 @@ import { ReadStatus } from '../messages/MessageReadStatus.js';
|
||||
import { DataWriter } from '../sql/Client.js';
|
||||
import { drop } from './drop.js';
|
||||
import { upgradeMessageSchema } from './migrations.js';
|
||||
import {
|
||||
deliveryReceiptQueue,
|
||||
deliveryReceiptBatcher,
|
||||
} from './deliveryReceipt.js';
|
||||
import {
|
||||
cacheAttachmentBySignature,
|
||||
getCachedAttachmentBySignature,
|
||||
@@ -315,8 +319,8 @@ export async function handleEditMessage(
|
||||
// processing incoming messages to start sending outgoing delivery receipts.
|
||||
// The queue can be paused easily.
|
||||
drop(
|
||||
window.Whisper.deliveryReceiptQueue.add(() => {
|
||||
window.Whisper.deliveryReceiptBatcher.add({
|
||||
deliveryReceiptQueue.add(() => {
|
||||
deliveryReceiptBatcher.add({
|
||||
messageId: mainMessage.id,
|
||||
conversationId: editAttributes.conversationId,
|
||||
senderE164: editAttributes.message.source,
|
||||
|
||||
Reference in New Issue
Block a user