Refactor sender key sends to allow distribution lists
This commit is contained in:
parent
61a6f1b4cf
commit
161b0e5379
10 changed files with 210 additions and 110 deletions
|
@ -949,15 +949,15 @@ export class CallingClass {
|
|||
send: () =>
|
||||
conversation.queueJob('sendGroupCallUpdateMessage', () =>
|
||||
window.Signal.Util.sendToGroup({
|
||||
contentHint: ContentHint.DEFAULT,
|
||||
groupSendOptions: {
|
||||
groupCallUpdate: { eraId },
|
||||
groupV2,
|
||||
timestamp,
|
||||
},
|
||||
conversation,
|
||||
contentHint: ContentHint.DEFAULT,
|
||||
messageId: undefined,
|
||||
sendOptions,
|
||||
sendTarget: conversation.toSenderKeyTarget(),
|
||||
sendType: 'callingMessage',
|
||||
})
|
||||
),
|
||||
|
@ -1567,11 +1567,11 @@ export class CallingClass {
|
|||
window.Signal.Util.sendContentMessageToGroup({
|
||||
contentHint: ContentHint.DEFAULT,
|
||||
contentMessage,
|
||||
conversation,
|
||||
isPartialSend: false,
|
||||
messageId: undefined,
|
||||
recipients: conversation.getRecipients(),
|
||||
sendOptions: await getSendOptions(conversation.attributes),
|
||||
sendTarget: conversation.toSenderKeyTarget(),
|
||||
sendType: 'callingMessage',
|
||||
timestamp,
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue