From bccccb2758b92cf9a52116244b01464080d64acd Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 5 Oct 2018 12:15:29 +0100 Subject: [PATCH] Silence bluebird warnings --- src/vector/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/index.js b/src/vector/index.js index 1d873f20..fffdac1b 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -60,6 +60,10 @@ import CallHandler from 'matrix-react-sdk/lib/CallHandler'; import {getVectorConfig} from './getconfig'; +// Disable warnings for now: we use deprecated bluebird functions +// and need to migrate, but they spam the console with warnings. +Promise.config({warnings: false}); + let lastLocationHashSet = null; function initRageshake() {