This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Send device list updates to application services (MSC3202) - part 1 #11881
Send device list updates to application services (MSC3202) - part 1 #11881
Changes from 13 commits
4b67118
51be04b
b4aad36
1671f87
a77f351
88c4e73
047db4d
55ac419
3d2f018
4168d2f
9d903aa
9b0572d
84ea3e2
55eb056
8ef2df8
d08e52c
5f7cd20
7bd8118
7e4a531
fca1add
6d00c2b
9f5eb99
afb9cfc
9ed4403
dff0a91
e4f94ff
73817f3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the code below will actually work fine if the sets are not disjoint, with
left
winning...which might not be what you want. 👍There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spec doesn't particularly say what a client should do if a user ends up in both lists, though I would assume that
left
should win (as if a user updated their list, but they've now left all e2ee rooms with you, then why do you care?)....So maybe it's OK to pass a device list update with a user with both lists anyways?