sendToGroup: Ensure endorsements are fetched with alreadyInQueue=true

This commit is contained in:
Scott Nonnenberg
2026-05-08 08:06:55 +10:00
committed by GitHub
parent b0ed5f4a9b
commit eecb7bf966
+3 -1
View File
@@ -365,10 +365,12 @@ async function sendToGroupViaSenderKey(
let groupSendEndorsementState: GroupSendEndorsementState | null = null;
if (groupId != null && !story) {
const alreadyInQueue = true;
const { state, didRefreshGroupState } =
await maybeCreateGroupSendEndorsementState(
groupId,
recursion.didRefreshGroupState
recursion.didRefreshGroupState,
alreadyInQueue
);
if (state != null) {
groupSendEndorsementState = state;