Include story=true on SKDM only when sending to distribution list
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user