From bcb9405793053f366ef4e146aa71ec1ba7decd09 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 22 Feb 2018 18:41:18 +0000 Subject: [PATCH] Instead of emitting, rely on the promise --- src/client.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client.js b/src/client.js index 21e901e9f..bda779aa9 100644 --- a/src/client.js +++ b/src/client.js @@ -411,8 +411,6 @@ MatrixClient.prototype.initCrypto = async function() { // handlers. crypto.registerEventHandlers(this); this._crypto = crypto; - - this.emit("crypto.initComplete"); };