mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Remove Signal.Util
This commit is contained in:
@@ -39,6 +39,7 @@ import type MessageSender from '../textsecure/SendMessage';
|
||||
import type { StoryDistributionListDataType } from '../state/ducks/storyDistributionLists';
|
||||
import { drop } from './drop';
|
||||
import { conversationJobQueue } from '../jobs/conversationJobQueue';
|
||||
import { incrementMessageCounter } from './incrementMessageCounter';
|
||||
|
||||
const RETRY_LIMIT = 5;
|
||||
|
||||
@@ -668,7 +669,7 @@ export function startAutomaticSessionReset(
|
||||
}
|
||||
|
||||
const receivedAt = Date.now();
|
||||
const receivedAtCounter = window.Signal.Util.incrementMessageCounter();
|
||||
const receivedAtCounter = incrementMessageCounter();
|
||||
drop(
|
||||
conversation.queueJob('addChatSessionRefreshed', async () => {
|
||||
await conversation.addChatSessionRefreshed({
|
||||
|
||||
Reference in New Issue
Block a user