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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 || {});
})
);