Remove Signal.Util

This commit is contained in:
Jamie Kyle
2023-04-10 20:54:43 -07:00
committed by GitHub
parent 3a069323a4
commit 76b9d07acf
25 changed files with 132 additions and 202 deletions

View File

@@ -12,6 +12,7 @@ import { notificationService } from '../services/notifications';
import * as log from '../logging/log';
import * as Errors from '../types/errors';
import { StartupQueue } from '../util/StartupQueue';
import { queueUpdateMessage } from '../util/messageBatcher';
export type ReadSyncAttributesType = {
senderId: string;
@@ -146,7 +147,7 @@ export class ReadSyncs extends Collection {
message.set({ expirationStartTimestamp });
}
window.Signal.Util.queueUpdateMessage(message.attributes);
queueUpdateMessage(message.attributes);
this.remove(sync);
} catch (error) {