From 12d37835b4f9c3691460b7386566d39de14b2c4e Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 1 Jan 2023 00:18:01 +0000 Subject: [PATCH] Set "archive" status --- src/Database/PostUpdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/PostUpdate.php b/src/Database/PostUpdate.php index cfb6b1569e..41333a34b7 100644 --- a/src/Database/PostUpdate.php +++ b/src/Database/PostUpdate.php @@ -1225,7 +1225,7 @@ class PostUpdate $inbox[] = $apcontact['sharedinbox']; } $condition = DBA::mergeConditions(['url' => $inbox], ["`gsid` IS NULL"]); - DBA::update('inbox-status', ['gsid' => $apcontact['gsid']], $condition); + DBA::update('inbox-status', ['gsid' => $apcontact['gsid'], 'archive' => GServer::isDefunctById($apcontact['gsid'])], $condition); ++$rows; } DBA::close($apcontacts); -- 2.39.5