Cache the profile as well

This commit is contained in:
Michael 2022-05-17 12:46:55 +00:00
parent 75534fa3f3
commit 4e3e9dc763
2 changed files with 12 additions and 1 deletions

View file

@ -1225,6 +1225,7 @@ class Item
if ($posted_item['origin'] && ($posted_item['uid'] != 0) && in_array($posted_item['gravity'], [GRAVITY_PARENT, GRAVITY_COMMENT])) {
DI::cache()->delete(ActivityPub\Transmitter::CACHEKEY_OUTBOX . $posted_item['uid']);
DI::cache()->delete(ActivityPub\Transmitter::CACHEKEY_PROFILE . $posted_item['uid']);
}
return $post_user_id;