BUG: MessageIsMedia
does not check m.new_content
#481
Labels
T-Defect
Something isn't working, this is a bug
MessageIsMedia
does not check m.new_content
#481
When blocking messages there is media, it is possible to bypass if editing the message.
This can be done by sending a new
m.room.message
withm.new_content
being a image type instead (m.image
).This will get posted, without mjolnir reacting to it, and blocking it :)
It seems like
MessageIsMedia
should recurse into messages, to check for such things.Hopefully this is the correct way to report it!
EDIT: should clarify, this bypasses everything in the current checker, unless the checker recurses into the message.
The text was updated successfully, but these errors were encountered: