From 165e0c0c94fc1eab30224ba0b23cdbaf54dec89e Mon Sep 17 00:00:00 2001 From: Gregory Bartholomew Date: Apr 14 2022 01:02:22 +0000 Subject: Refresh the card cache before each run of show proposed/agreed Closes #24 --- diff --git a/bot/commands.pm b/bot/commands.pm index fef06c0..d363d24 100644 --- a/bot/commands.pm +++ b/bot/commands.pm @@ -189,6 +189,9 @@ sub show { if ((&::KBCOLUMN)->[$col] ne COLUMN) { $text .= 'error: wrong kanban column'; } else { + # force the cache to refresh in case cards were changed + list 'to-edit'; + $text .= _sched($what, @crd); $text .= KEY if ($what eq 'agreed' && @crd); }