Skip to content

Conversation

@jason-famedly
Copy link
Contributor

@jason-famedly jason-famedly commented Oct 2, 2025

Related: famedly/product-management#3448

Be more selective about what avatar url's are allowed to be set to the profile of a given user. Particularly around remote media, but any media that is suddenly "missing" could have this error.

Enhance the pre-flight validation to ensure that the media exists, with selective conditions during the transition away from unrestricted media to either ignore the error or forbid the operation.

Gracefully handle updating membership events during a profile avatar change propagation. Most of the potential errors that can be raised here should now be blocked by the pre-flight validation when setting the profile. Additionally, outgoing remote invites and room creator join membership events conditionally drop the avatar url if the media does not exist and legacy unrestricted media is disabled

@jason-famedly jason-famedly force-pushed the jason/remote-media-profiles branch from 09bf11f to fc1eaab Compare October 20, 2025 16:53
@jason-famedly jason-famedly marked this pull request as ready for review October 22, 2025 13:16
@jason-famedly jason-famedly requested a review from a team as a code owner October 22, 2025 13:16
@jason-famedly jason-famedly force-pushed the jason/remote-media-profiles branch from 59caf7d to 815ff8f Compare October 23, 2025 11:14
Copy link
Contributor

@itsoyou itsoyou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@jason-famedly jason-famedly changed the title fix: Conditionally allow for ignoring unknown media for profile avatars when propagating membership events fix(MSC3911): Handle profile avatars that are unknown gracefully Oct 29, 2025
@jason-famedly jason-famedly merged commit d713ba0 into msc3911 Oct 29, 2025
19 of 23 checks passed
@jason-famedly jason-famedly deleted the jason/remote-media-profiles branch October 29, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants