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

Backend for tracking 1:1 room state #2070

Closed
ara4n opened this issue Sep 2, 2016 · 0 comments
Closed

Backend for tracking 1:1 room state #2070

ara4n opened this issue Sep 2, 2016 · 0 comments
Assignees

Comments

@ara4n
Copy link
Member

ara4n commented Sep 2, 2016

We've finally defined the behaviour for tracking 1:1 rooms:

  • the idea is to use User account_data to track the list of DMs we see for a given remote user
  • which would have a m.direct event in it, whose content gives a bunch of mxid to list-of-roomid mappings (we could split these into separate m.direct events, but these feel ugly)
  • for bootstrapping: the first time Vector loads without any m.direct event, i'd expect it to synthesize one from the current heuristics of what counts as a 1:1 room.

An open problem is how to pick which 1:1 to use when selecting a user in #1882. From MemberInfo we can list all the rooms you have in common with the user and let the user sort it out. But from the Start Conversation component it's less clear. Will raise that there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants