Show on main landing page restore, separately from permalink

This commit is contained in:
hbrain 2026-06-04 23:57:00 +02:00
parent 5505f0dee2
commit edcb6ca928
4 changed files with 119 additions and 19 deletions

View file

@ -173,7 +173,7 @@ function try_send_show_notification($articleRefOrJob, $jobdir, $mvlog_root = nul
if ($articleTitle === '') $articleTitle = mvlog_nice_title((string)$job);
$articleUrl = './?id=' . rawurlencode($articleId);
$articleUrl = is_file($jobdir . '/.mvlog-permalink') ? './?id=' . rawurlencode($articleId) : './';
$payload = json_encode([
'title' => $articleTitle,