Include story=true on SKDM only when sending to distribution list
This commit is contained in:
parent
bf4e697a0a
commit
d03b53d47e
1 changed files with 2 additions and 1 deletions
|
@ -442,7 +442,8 @@ export async function sendToGroupViaSenderKey(options: {
|
||||||
distributionId,
|
distributionId,
|
||||||
groupId,
|
groupId,
|
||||||
identifiers: newToMemberUuids,
|
identifiers: newToMemberUuids,
|
||||||
story,
|
// SKDMs should only have story=true if we're sending to a distribution list
|
||||||
|
story: sendTarget.getGroupId() ? false : story,
|
||||||
urgent,
|
urgent,
|
||||||
},
|
},
|
||||||
sendOptions ? { ...sendOptions, online: false } : undefined
|
sendOptions ? { ...sendOptions, online: false } : undefined
|
||||||
|
|
Loading…
Reference in a new issue