Silence bluebird warnings

pull/21833/head
David Baker 2018-10-05 12:15:03 +01:00
parent aea9dbe1b8
commit a81589ffb5
1 changed files with 4 additions and 0 deletions

View File

@ -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