Skip to content

MSC3911 AP4: Update methods for profile updates to support attaching media - #97

Merged
nico-famedly merged 5 commits into
msc3911from
syk/ap4-profile-updates
Sep 4, 2025
Merged

MSC3911 AP4: Update methods for profile updates to support attaching media#97
nico-famedly merged 5 commits into
msc3911from
syk/ap4-profile-updates

Conversation

@itsoyou

@itsoyou itsoyou commented Sep 3, 2025

Copy link
Copy Markdown
Member

Linked Media MSC3911 AP4: Update methods for profile updates to support attaching media #3354

For linking media we not only have events, but also profiles, that can be queried over federation independently of events. These should also allow attaching media.

Acceptance criteria

Open Questions

(from the ticket) We need to ensure synapse returns the right avatar over federation, otherwise this restriction is impossible to apply. That might require some digging?

@itsoyou
itsoyou requested a review from a team as a code owner September 3, 2025 13:01
@itsoyou itsoyou changed the title msc 3911: ap4 profile updates MSC3911 AP4: Update methods for profile updates to support attaching media Sep 3, 2025
@itsoyou
itsoyou force-pushed the syk/ap4-profile-updates branch from e2f99e8 to 781bb93 Compare September 3, 2025 15:21
@itsoyou
itsoyou force-pushed the syk/ap4-profile-updates branch from 781bb93 to ed40073 Compare September 3, 2025 15:22

@jason-famedly jason-famedly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Largely, I'm ok with this. I still have the question about the idem-potency of identical avatar requests succeeding or failing, but even I do not know how to answer it

Comment thread synapse/rest/client/profile.py Outdated
Comment thread synapse/rest/client/profile.py Outdated
Comment thread tests/rest/client/test_profile.py Outdated
Comment thread tests/rest/client/test_profile.py Outdated
Comment thread synapse/rest/client/profile.py Outdated
Comment thread synapse/rest/client/profile.py Outdated
Comment thread synapse/rest/client/profile.py Outdated
@itsoyou
itsoyou requested a review from nico-famedly September 4, 2025 09:23
@nico-famedly
nico-famedly merged commit 59fec66 into msc3911 Sep 4, 2025
20 of 23 checks passed
@nico-famedly
nico-famedly deleted the syk/ap4-profile-updates branch September 4, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants