mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 19:32:27 +00:00
fix(slack): gate disabled ack cleanup on delivery
This commit is contained in:
@@ -588,6 +588,8 @@ describe("monitorSlackProvider tool results", () => {
|
||||
channel_type: "channel",
|
||||
}),
|
||||
});
|
||||
await new Promise((resolve) => setTimeout(resolve, 0));
|
||||
await flush();
|
||||
|
||||
expect(sendMock).not.toHaveBeenCalled();
|
||||
expect(reactMock).toHaveBeenCalledTimes(1);
|
||||
|
||||
@@ -692,7 +692,7 @@ export async function dispatchPreparedSlackMessage(prepared: PreparedSlackMessag
|
||||
|
||||
if (!statusReactionsEnabled) {
|
||||
removeAckReactionAfterReply({
|
||||
removeAfterReply: ctx.removeAckAfterReply,
|
||||
removeAfterReply: ctx.removeAckAfterReply && anyReplyDelivered,
|
||||
ackReactionPromise: prepared.ackReactionPromise,
|
||||
ackReactionValue: prepared.ackReactionValue,
|
||||
remove: () =>
|
||||
|
||||
Reference in New Issue
Block a user