Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoomAvatarEventContent shouldn't reuse ImageInfo #4244

Closed
Johennes opened this issue Jun 14, 2024 · 0 comments · Fixed by #4245
Closed

RoomAvatarEventContent shouldn't reuse ImageInfo #4244

Johennes opened this issue Jun 14, 2024 · 0 comments · Fixed by #4245
Assignees
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust

Comments

@Johennes
Copy link
Contributor

ImageInfo extends from FileInfo which includes bits for encrypted files. However, m.room.avatar is a state event. So encrypting it is pointless because room state itself is not encrypted.

See also matrix-org/matrix-spec#562 and ruma/ruma#397.

@dosubot dosubot bot added the A-Element-R Issues affecting the port of Element's crypto layer to Rust label Jun 14, 2024
@t3chguy t3chguy self-assigned this Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants