Skip to content
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

Profile interop: Send avatar and thumbnail as attachments #379

Open
vintprox opened this issue Sep 30, 2022 · 2 comments
Open

Profile interop: Send avatar and thumbnail as attachments #379

vintprox opened this issue Sep 30, 2022 · 2 comments
Labels
enhancement New feature or request Frontend

Comments

@vintprox
Copy link

vintprox commented Sep 30, 2022

#70 mentions:

3D avatar / thumbnail should be saved in m.world.profile room state event

So we can assume it's planned to be state events for now as a primary data point in profile type rooms. My only issue with this is interoperability:

  • one needs to do extra steps to download their backed up model/sprite, as well as to see related thumbnail, from any other client;
  • profile room will just look empty or have events of which only Third Room client can make sense.

I propose such binary data to be sent as attachment instead of room state event.

@vintprox vintprox changed the title Send avatar's model and thumbnail as attachments to profile room Profile interop: Send avatar's model and thumbnail as attachments to profile room Sep 30, 2022
@vintprox vintprox changed the title Profile interop: Send avatar's model and thumbnail as attachments to profile room Profile interop: Send avatar and thumbnail as attachments Sep 30, 2022
@vintprox
Copy link
Author

vintprox commented Sep 30, 2022

If the problem is how to pack everything together under one avatar, there is such thing as relations. I presume we can take attachment and put into it a relation to original event that describes single avatar (which in return can remain room state event, or even better - a message with HTML/text description that other clients can simply show above those attachments).

@robertlong robertlong added enhancement New feature or request Frontend labels Oct 13, 2022
@ajbura
Copy link
Contributor

ajbura commented Oct 14, 2022

If we send m.world.profile as message and attachments in relates to original message we will not have a direct way to look profile either we have to backfill timeline until we find relevant event or we need to remember the event id to access it via /context api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Frontend
Projects
Status: No status
Development

No branches or pull requests

3 participants