Remove isPrivate, isMe, isGroupV1, isGroupV2 from model
This commit is contained in:
parent
eaf4036fc8
commit
d4875fd8f4
16 changed files with 377 additions and 267 deletions
|
@ -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 || {});
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue