destinationServiceId in Sent
This commit is contained in:
parent
af4ad55c68
commit
f90c2b7479
20 changed files with 322 additions and 104 deletions
|
@ -6,6 +6,7 @@ import * as log from '../logging/log';
|
|||
import { SendMessageProtoError } from '../textsecure/Errors';
|
||||
import { getSendOptions } from './getSendOptions';
|
||||
import { handleMessageSend } from './handleMessageSend';
|
||||
import { getTaggedConversationUuid } from './getConversationUuid';
|
||||
|
||||
import type { CallbackResultType } from '../textsecure/Types.d';
|
||||
import type { ConversationModel } from '../models/conversations';
|
||||
|
@ -77,7 +78,7 @@ export async function wrapWithSyncMessageSend({
|
|||
await handleMessageSend(
|
||||
sender.sendSyncMessage({
|
||||
destination: conversation.get('e164'),
|
||||
destinationUuid: conversation.get('uuid'),
|
||||
destinationUuid: getTaggedConversationUuid(conversation.attributes),
|
||||
encodedDataMessage: dataMessage,
|
||||
expirationStartTimestamp: null,
|
||||
options,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue