mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:10:11 +00:00
Cache the profile as well
This commit is contained in:
parent
75534fa3f3
commit
4e3e9dc763
2 changed files with 12 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue