Conversation

please someone explain to my why matrix has a control/permission for sending stickers but not any other media

why…is that?

2
0
1

media is encapsulated in a regular m.room.message event
whereas stickers are a m.sticker event

m.room.message events have “sub-types” so to speak, so a message with media is a m.room.message event with a message type of m.image (or similar)

this is usually included in the ciphertext, so the encrypted bits, which is why it probably didn’t make sense to write logic for filtering by different msgtypes because lots of rooms will be encrypted so setting the permission would do nothing

hmm…but I think we should really have the ability to restrict media…

1
0
0

now, why do Stickers have their own event type? Not sure! ask whoever wrote the MSC for that

1
0
1

@alexia permissions work on an event type basis, images are m.room.messages just like text with with m.image instead of m.text. I think these limitations are in focus of improvements to moderation capabilities though

1
0
0