Reactions sent via Joined::send
in encrypted rooms are encrypted, but shouldn't be
#470
Labels
Milestone
Joined::send
in encrypted rooms are encrypted, but shouldn't be
#470
Describe the bug
According to some discussion in the ruma matrix channel, reaction events should not be encrypted, but are apparently. Since the "m.relates_to"-part is also sent unencrypted, the message content is also duplicated effectively.
To Reproduce
ReactionEventContent
Joined::send
Expected behavior
The message sent should look something like this:
Actual behavior
The message looks like this:
Additional context
The reason that I stumbled upon this and what makes this especially annoying is that apparently synapse recognizes these messages as reactions, and sends them bundled with the message that was reacted to, but incorrectly (?) assigns the type "m.room.encrypted" for the annotations which causes ruma to fail to decrypt the message as a result.
The text was updated successfully, but these errors were encountered: