Populate dataMessage on CallbackResultType when sending 1:1 messages
This commit is contained in:
parent
78fd36e880
commit
4be2a33be5
3 changed files with 16 additions and 10 deletions
|
@ -75,7 +75,7 @@ export async function wrapWithSyncMessageSend({
|
|||
`wrapWithSyncMessageSend/${logId}: dataMessage was not returned by send!`
|
||||
);
|
||||
} else {
|
||||
log.error(`wrapWithSyncMessageSend/${logId}: Sending sync message...`);
|
||||
log.info(`wrapWithSyncMessageSend/${logId}: Sending sync message...`);
|
||||
const ourConversation =
|
||||
window.ConversationController.getOurConversationOrThrow();
|
||||
const options = await getSendOptions(ourConversation.attributes, {
|
||||
|
@ -83,8 +83,8 @@ export async function wrapWithSyncMessageSend({
|
|||
});
|
||||
await handleMessageSend(
|
||||
sender.sendSyncMessage({
|
||||
destination: ourConversation.get('e164'),
|
||||
destinationUuid: ourConversation.get('uuid'),
|
||||
destination: conversation.get('e164'),
|
||||
destinationUuid: conversation.get('uuid'),
|
||||
encodedDataMessage: dataMessage,
|
||||
expirationStartTimestamp: null,
|
||||
options,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue