Update Embeds. Fix Profile + Status embeds, remove following count and improve cache invalidation and hidden follower counts

This commit is contained in:
Daniel Supernault 2021-02-09 00:42:12 -07:00
parent d31a1dbcdf
commit 5ac9d0e8f2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
6 changed files with 29 additions and 11 deletions

View file

@ -427,6 +427,7 @@ class ComposeController extends Controller
Cache::forget('profile:status_count:'.$profile->id);
Cache::forget('status:transformer:media:attachments:'.$status->id);
Cache::forget($user->storageUsedKey());
Cache::forget('profile:embed:' . $status->profile_id);
return $status->url();
}