Silence bluebird warnings

pull/7462/head
David Baker 2018-10-05 12:15:29 +01:00
parent 92b2980b41
commit bccccb2758
1 changed files with 4 additions and 0 deletions

View File

@ -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() {