mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-30 03:23:18 +01:00
sendCallUpdate: Remove inner queueJob call
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
@@ -83,21 +83,19 @@ export async function sendGroupCallUpdate(
|
||||
logId,
|
||||
messageIds: [],
|
||||
send: () =>
|
||||
conversation.queueJob(logId, () =>
|
||||
sendToGroup({
|
||||
contentHint: ContentHint.Default,
|
||||
groupSendOptions: {
|
||||
groupCallUpdate: { eraId },
|
||||
groupV2,
|
||||
timestamp,
|
||||
},
|
||||
messageId: undefined,
|
||||
sendOptions,
|
||||
sendTarget: conversation.toSenderKeyTarget(),
|
||||
sendType,
|
||||
urgent,
|
||||
})
|
||||
),
|
||||
sendToGroup({
|
||||
contentHint: ContentHint.Default,
|
||||
groupSendOptions: {
|
||||
groupCallUpdate: { eraId },
|
||||
groupV2,
|
||||
timestamp,
|
||||
},
|
||||
messageId: undefined,
|
||||
sendOptions,
|
||||
sendTarget: conversation.toSenderKeyTarget(),
|
||||
sendType,
|
||||
urgent,
|
||||
}),
|
||||
sendType,
|
||||
timestamp,
|
||||
expirationStartTimestamp: null,
|
||||
|
||||
Reference in New Issue
Block a user