Skip to content

Commit 87e244d

Browse files
committed
Force auto-send for queued items in processNextQueueItem function
1 parent 5f704ef commit 87e244d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

floating-panel-ui-engine.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ window.MaxExtensionFloatingPanel.processNextQueueItem = function () {
140140
if (sendFunction) {
141141
// A mock event object is sufficient for the send functions
142142
const mockEvent = { preventDefault: () => { } };
143-
sendFunction(mockEvent, item.text, item.autoSend);
143+
// Always force auto-send for queued items by passing `true`, overriding the button's individual setting.
144+
sendFunction(mockEvent, item.text, true);
144145
} else {
145146
logConCgp('[queue-engine] No send function found for this site. Stopping queue.');
146147
this.resetQueue();

0 commit comments

Comments
 (0)