Silence bluebird warnings

This commit is contained in:
David Baker 2018-10-05 12:15:29 +01:00
parent 92b2980b41
commit bccccb2758

View file

@ -60,6 +60,10 @@ import CallHandler from 'matrix-react-sdk/lib/CallHandler';
import {getVectorConfig} from './getconfig'; 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; let lastLocationHashSet = null;
function initRageshake() { function initRageshake() {