From 2ae91752d36278d19b4a9f52c6c5218da0cc1260 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Wed, 22 Aug 2018 09:58:37 +1000 Subject: [PATCH] skip fetching profiles when clicking on contact --- js/views/conversation_view.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 6f5eb040b..cb3018f41 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -513,16 +513,16 @@ this.model.updateLastMessage(); - const statusPromise = this.throttledGetProfiles(); - // eslint-disable-next-line more/no-then - this.statusFetch = statusPromise.then(() => - // eslint-disable-next-line more/no-then - this.model.updateVerified().then(() => { - this.onVerifiedChange(); - this.statusFetch = null; - window.log.info('done with status fetch'); - }) - ); + // const statusPromise = this.throttledGetProfiles(); + // // eslint-disable-next-line more/no-then + // this.statusFetch = statusPromise.then(() => + // // eslint-disable-next-line more/no-then + // this.model.updateVerified().then(() => { + // this.onVerifiedChange(); + // this.statusFetch = null; + // window.log.info('done with status fetch'); + // }) + // ); // We schedule our catch-up decrypt right after any in-progress fetch of // messages from the database, then ensure that the loading screen is only