Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Always calculate heroes for rooms without avatars #3898

Closed
wants to merge 4 commits into from

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Sep 18, 2018

Otherwise clients may not have the membership events they need to generate an avatar for the room (typically a 1:1, but if a client chose to montage together multiple avatars, that'd break too)

Tests over at matrix-org/sytest#493

so that clients can synthesise a room avatar from the
heroes' one(s) if needed.
@ara4n ara4n requested a review from a team September 18, 2018 11:47
@ara4n
Copy link
Member Author

ara4n commented Sep 18, 2018

@matrixbot retest this please

@ara4n
Copy link
Member Author

ara4n commented Sep 18, 2018

/me investigates tests

@ara4n
Copy link
Member Author

ara4n commented Sep 18, 2018

@matrixbot please retest this again

@ara4n
Copy link
Member Author

ara4n commented Sep 18, 2018

retest this please

@erikjohnston
Copy link
Member

How bad would it be if we always sent down heroes? It doesn't feel like it'd add that much overhead, and yet be a lot simpler? That way we don't have to guess if/when a client would want them (it would also allow the client to always show some members in a room while they're loading the rest?)

@erikjohnston
Copy link
Member

Also: What are all the failing tests about?

manuroe added a commit to matrix-org/matrix-ios-sdk that referenced this pull request Sep 19, 2018
@richvdh richvdh removed the request for review from a team September 24, 2018 23:51
@richvdh
Copy link
Member

richvdh commented May 10, 2019

see also #5089 which appears to duplicate some of the work done while this has been bit-rotting :/

@clokep
Copy link
Member

clokep commented Apr 15, 2020

I think this would need to be rebased and it sounds like at least some of this was done already. I'm going to close this.

@clokep clokep closed this Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants