-
Notifications
You must be signed in to change notification settings - Fork 374
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
MSC3551: Extensible Events - Files #3551
base: main
Are you sure you want to change the base?
Conversation
"hashes": { | ||
"sha256": "fdSLu/YkRx3Wyh3KQabP3rd6+SFiKg5lsJZQHtkSAYA" | ||
}, | ||
"v": "v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The v
field name is a bit weird here, since it's specific to the encryption stuff. Might be nicer to have something like encrypted_version
and then use the presence and value of that field to determine if the file is encrypted (and if it's supported) rather than using the presence of key
. Alternatively, the encryption parts could be nested in an another object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another object sounds appealing tbh: m.encrypted
for all the encrypted things.
will consider the alternatives
Rendered
Blocked by #1767
Preview: https://pr3551--matrix-org-previews.netlify.app