Remove isPrivate, isMe, isGroupV1, isGroupV2 from model

This commit is contained in:
Josh Perez
2021-06-07 12:39:13 -04:00
committed by GitHub
parent eaf4036fc8
commit d4875fd8f4
16 changed files with 377 additions and 267 deletions

View File

@@ -40,9 +40,10 @@ export async function getSendOptions(
if (!conversation) {
return;
}
const {
sendMetadata: conversationSendMetadata,
} = await conversation.getSendOptions(options);
const { sendMetadata: conversationSendMetadata } = await getSendOptions(
conversation.attributes,
options
);
Object.assign(sendMetadata, conversationSendMetadata || {});
})
);