Stories: Fix sender key persistence, pipe story: true into sends
This commit is contained in:
parent
67c706a7ef
commit
2b2594c20a
7 changed files with 76 additions and 30 deletions
|
@ -156,6 +156,7 @@ export async function sendContentMessageToGroup({
|
|||
sendOptions,
|
||||
sendTarget,
|
||||
sendType,
|
||||
story,
|
||||
timestamp,
|
||||
urgent,
|
||||
}: {
|
||||
|
@ -168,6 +169,7 @@ export async function sendContentMessageToGroup({
|
|||
sendOptions?: SendOptionsType;
|
||||
sendTarget: SenderKeyTargetType;
|
||||
sendType: SendTypesType;
|
||||
story?: boolean;
|
||||
timestamp: number;
|
||||
urgent: boolean;
|
||||
}): Promise<CallbackResultType> {
|
||||
|
@ -199,6 +201,7 @@ export async function sendContentMessageToGroup({
|
|||
sendOptions,
|
||||
sendTarget,
|
||||
sendType,
|
||||
story,
|
||||
timestamp,
|
||||
urgent,
|
||||
});
|
||||
|
@ -235,6 +238,7 @@ export async function sendContentMessageToGroup({
|
|||
proto: contentMessage,
|
||||
recipients,
|
||||
sendLogCallback,
|
||||
story,
|
||||
timestamp,
|
||||
urgent,
|
||||
});
|
||||
|
@ -253,6 +257,7 @@ export async function sendToGroupViaSenderKey(options: {
|
|||
sendOptions?: SendOptionsType;
|
||||
sendTarget: SenderKeyTargetType;
|
||||
sendType: SendTypesType;
|
||||
story?: boolean;
|
||||
timestamp: number;
|
||||
urgent: boolean;
|
||||
}): Promise<CallbackResultType> {
|
||||
|
@ -267,6 +272,7 @@ export async function sendToGroupViaSenderKey(options: {
|
|||
sendOptions,
|
||||
sendTarget,
|
||||
sendType,
|
||||
story,
|
||||
timestamp,
|
||||
urgent,
|
||||
} = options;
|
||||
|
@ -433,6 +439,7 @@ export async function sendToGroupViaSenderKey(options: {
|
|||
distributionId,
|
||||
groupId,
|
||||
identifiers: newToMemberUuids,
|
||||
story,
|
||||
urgent,
|
||||
},
|
||||
sendOptions ? { ...sendOptions, online: false } : undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue