From a81589ffb5a717de82db35e03b47786ce0fe5d1a Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 5 Oct 2018 12:15:03 +0100 Subject: [PATCH] Silence bluebird warnings --- src/components/structures/MatrixChat.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 3450626c54..3f213c5a83 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -48,6 +48,10 @@ import SettingsStore, {SettingLevel} from "../../settings/SettingsStore"; import { startAnyRegistrationFlow } from "../../Registration.js"; import { messageForSyncError } from '../../utils/ErrorUtils'; +// Disable warnings for now: we use deprecated bluebird functions +// and need to migrate, but they spam the console with warnings. +Promise.config({warnings: false}); + /** constants for MatrixChat.state.view */ const VIEWS = { // a special initial state which is only used at startup, while we are