Session verification by emojis (#513)

* Add option to verify with security key/phrase

* Manually merge #311 by @ginnyTheCat
This commit is contained in:
Ajay Bura 2022-05-01 13:22:55 +05:30 committed by GitHub
parent 416fd02069
commit 2867bb3bc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 270 additions and 12 deletions

View file

@ -185,6 +185,12 @@ class Navigation extends EventEmitter {
action.afterClose,
);
},
[cons.actions.navigation.OPEN_EMOJI_VERIFICATION]: () => {
this.emit(
cons.events.navigation.EMOJI_VERIFICATION_OPENED,
action.request,
);
},
};
actions[action.type]?.();
}