mirror of https://github.com/mastodon/mastodon
Use #any? instead of #exists? when checking media attachments (#7570)
If media_attachments are not loaded, SQL query is the same, but the #exists? method performs SQL query even if preloadedpull/7572/head
parent
e583f110c3
commit
32d4372381
Loading…
Reference in New Issue