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

notify devices when we don't send them keys #1135

Merged
merged 9 commits into from
Jan 6, 2020

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Dec 23, 2019

Implements part of MSC2399 (notifications on initial key sending, but not on keyshare requests, and does not properly handle m.no_olm yet -- the remaining functionality will come in a future PR).

@uhoreg uhoreg marked this pull request as ready for review January 3, 2020 20:01
@uhoreg uhoreg requested a review from a team January 3, 2020 20:02
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a bunch of crypto js. I'm not too familiar with how things flow through this bit of the code, but it seems fine.

};

export const WITHHELD_MESSAGES = {
"m.unverified": "The sender has disabled encrypting to unverified devices.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't these also be org.matrix for now? (annoyingly)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about that, but since they only appear in org.matrix.room_key.withheld messages, I think it should be fine.

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

Successfully merging this pull request may close these issues.

3 participants