Eugen Rochko 11b3ee4f4c
Reset status cache when status_stat or media_attachment updates (#9119)
* Reset status cache when status_stat or media_attachment updates

Fix #8711

Media attachments are generally immutable, but admins can update
the sensitive flag, and this would ensure the change is visible
instantly. Same for updates to status stats. That is a regression
from #8185, because even the correct updated_at fetched from a join
doesn't seem to invalidate the cache.

* Remove join from Status#cache_ids since it has no effect
2018-10-28 06:42:34 +01:00
..
2018-08-24 04:33:27 +02:00
2017-11-24 02:05:53 +01:00
2018-04-27 01:38:10 +02:00
2017-12-01 16:40:02 +01:00
2018-06-29 15:34:36 +02:00
2017-11-18 00:16:48 +01:00
2018-05-27 21:45:30 +02:00
2017-01-13 03:24:41 +01:00