onSentMessage: only merge if we have a destinationConversatonId
This commit is contained in:
parent
3469a748fb
commit
df50085d8c
1 changed files with 4 additions and 1 deletions
|
@ -2732,7 +2732,10 @@ export async function startApp(): Promise<void> {
|
|||
strictAssert(source && sourceServiceId, 'Missing user number and uuid');
|
||||
|
||||
// Make sure destination conversation is created before we hit getMessageDescriptor
|
||||
if (data.destinationServiceId !== sourceServiceId) {
|
||||
if (
|
||||
data.destinationServiceId &&
|
||||
data.destinationServiceId !== sourceServiceId
|
||||
) {
|
||||
const { mergePromises } =
|
||||
window.ConversationController.maybeMergeContacts({
|
||||
e164: data.destination,
|
||||
|
|
Loading…
Add table
Reference in a new issue