-
-
Notifications
You must be signed in to change notification settings - Fork 600
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
Conversation
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.
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.", |
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.
shouldn't these also be org.matrix
for now? (annoyingly)
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 thought about that, but since they only appear in org.matrix.room_key.withheld
messages, I think it should be fine.
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).