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

Support m.direct event in account_data #149

Closed
giomfo opened this issue Oct 13, 2016 · 0 comments
Closed

Support m.direct event in account_data #149

giomfo opened this issue Oct 13, 2016 · 0 comments

Comments

@giomfo
Copy link
Member

giomfo commented Oct 13, 2016

see element-hq/element-web#2070:

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.

giomfo added a commit that referenced this issue Oct 27, 2016
#149

When no direct chat is listed in account data, we synthesize them from the current heuristics of what counts as a 1:1 room.
giomfo added a commit that referenced this issue Oct 27, 2016
giomfo added a commit that referenced this issue Oct 27, 2016
#149

Fix direct rooms initialization
@giomfo giomfo closed this as completed Oct 27, 2016
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

1 participant