Fix key exchange

This commit is contained in:
Jiiks 2018-08-16 10:53:27 +03:00
parent 8438d32ce9
commit 805e1ce771
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ export default new class E2EE extends BuiltinModule {
try {
const newMaster = await Modals.input('Open Database', 'Master Password', true).promise;
this.setMaster(newMaster);
Events.on('discord:MESSAGE_CREATE', this.handlePublicKey);
this.patchDispatcher();
this.patchMessageContent();
const selector = `.${WebpackModules.getClassName('channelTextArea', 'emojiButton')}`;