This commit is contained in:
Jiiks 2018-08-14 13:29:19 +03:00
parent 5db4f8cf26
commit 68f3a280a5
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ export default new class E2EE extends BuiltinModule {
} }
} }
// TODO Received exchange should also expire if not accepted in time
// TODO Bug: If exchange is done fast enough it sometimes ask you to accept your own sent key. Should move this to socket event anyways. // TODO Bug: If exchange is done fast enough it sometimes ask you to accept your own sent key. Should move this to socket event anyways.
async handlePublicKey(component) { async handlePublicKey(component) {
if (!component.props.channel || component.props.channel.type !== 1) return; if (!component.props.channel || component.props.channel.type !== 1) return;