This could also be useful for avoiding viewing content such as CSAM. Matrix clients tend to have a similar option called "automatically hiding images from message timeline." You should be able to toggle this being default behavior for all users you are not friends with.
Malicious users supposedly frequently spammed Fluxer early on with such things. Blocking users wouldn't help much in such scenarios since you would already be viewing the material before actively doing so.
Thread
Comment by Evelicry
Comment by Fullest
Comment by Evelicry
Comment by Fullest