-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Remove required attribute from m.room.avatar url #987
Conversation
I agree with this clarification but it should be noted that for now Element Web (and maybe others) actually omit the field. |
3a83793
to
1236b34
Compare
Updated the PR to just remove the (I initially tested the wrong thing, oops 😄) |
This opens a bit of a pandora's box on what "required" means. We also say that I think for this change to be accepted we'd need to figure out if this is actually what we want, and adjust the associated wording too. I've left this comment as a not-review to hopefully get other SCT members to take a look and form an opinion. |
IMHO redacted events are a red herring: They are already clearly marked as not the regular form of the event by having the In multiple years of maintaining Ruma, this is the one and only event I've come across where the |
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.
I think I need more context here. If this is unrelated to redactions (which are indeed a separate case), can someone explain to me why clients are sending m.room.avatar
without a url property? It seems like it wouldn't be much use.
That's just what happens when you "remove" the avatar in Element Web and other clients. It sends a new |
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.
Right, I see. I think there's an argument that that would be better handled by setting url
to the empty string, but otoh if the ecosystem is already doing it by removing url
, that horse has bolted.
Just needs some clarifying text, imho.
92d1dd8
to
09e679a
Compare
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.
this lgtm but I'm going to hold off from merging it for now in case any of the rest of @matrix-org/spec-core-team want to veto it
(and yes, my newsfragment CI check is broken. Fix in #993) |
It is not actually required in practice.
4ea10c7
to
9077c48
Compare
(please do not rebase after review has been given - instead prefer merge commits. Those merge commits will disappear when we merge the PR at the end) |
Okay. Just noticed I force-pushed away the previous suggestion too. Will re-apply that. |
How long is the veto timeframe? Can this be merged now? |
let's do it |
Removes the feature gate because this has been clarified to be right in the spec: matrix-org/matrix-spec#987
this did close that issue due to GitHub’s PR keywords, should that issue be closed in the end? |
think so |
See rest of the issue description, I think we don't need it anymore. Can always be reopened if other affected events are found. |
Might close #471 (that issue refers to "State events like
m.room.avatar
" but gives no other examples).Preview: https://pr987--matrix-spec-previews.netlify.app