mirror of
https://github.com/friendica/friendica
synced 2024-11-18 05:03:40 +00:00
Set "archive" status
This commit is contained in:
parent
e21db0fe6d
commit
12d37835b4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue