dsh-tg-bridge 1.33.0 → 1.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bridge.mjs CHANGED
@@ -35,7 +35,8 @@ import { busyNotices, clearBusyNotice, steerAvailable, steerMediaMessage, steerR
35
35
  import { MAX_PARALLEL, approvals, bufferAlbum, enqueue, lastPrompt, queues, redeliver, rewindUsed, setMessageHandler } from './queue.mjs';
36
36
  import { applyAsetJob, settingsChipOf, turnProfileOf } from './profile-view.mjs';
37
37
  import { handleMessage } from './handle-message.mjs';
38
- import { boundSetOf, handleCallback, handleCardPress, renderTaskCard, taskRows } from './callbacks.mjs';
38
+ import { answerPressFailed, handleCallback, renderTaskCard, taskRows } from './callbacks.mjs';
39
+ import { boundSetOf, handleCardPress } from './settings-press.mjs';
39
40
  import { runCommandFromButton } from './run-command.mjs';
40
41
  import { startJobLoops } from './job-loops.mjs';
41
42
  import { ensureProfile } from './profiles.mjs';
@@ -441,6 +442,7 @@ async function main() {
441
442
  await handleCallback(update.callback_query);
442
443
  } catch (error) {
443
444
  log(`callback error: ${error.message}`);
445
+ await answerPressFailed(update.callback_query);
444
446
  }
445
447
  continue;
446
448
  }