]> cat aescling's git repositories - mastodon.git/commit
After blocking domain with reject_media, invalidate cache (#6679)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 8 Mar 2018 05:59:42 +0000 (06:59 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Mar 2018 05:59:42 +0000 (06:59 +0100)
commit64db9ed5f6c8ff826104b3294956416d08d7a135
treef638f306e9c4546863b5ad53cf14c4ee89f0e645
parent1085ef38365facd52ca0f49046ee1d55b3763dcc
After blocking domain with reject_media, invalidate cache (#6679)

Media attachments are part of the association cache of statuses,
since they are presumed to be immutable. Unless this cache is
cleared manually, the statuses will continue to look like they
have media embedded.
app/services/block_domain_service.rb
lib/tasks/mastodon.rake