dismiss objects where the force flag is set for now

This commit is contained in:
Mario
2025-11-25 22:50:47 +00:00
parent 1e5f614a5e
commit ade3da4d89

View File

@@ -3030,7 +3030,7 @@ class Activity {
intval($item['uid'])
);
if (!$r || ($r && in_array($observer_hash, [$r[0]['owner_xchan'], $r[0]['author_xchan']]))) {
if (!$force && (!$r || ($r && in_array($observer_hash, [$r[0]['owner_xchan'], $r[0]['author_xchan']])))) {
ObjCache::Set($item['mid'], $act->data);
}