Merge pull request #7462 from vector-im/dbkr/gone_away_is_the_bluebird

Silence bluebird warnings
This commit is contained in:
David Baker 2018-10-05 13:25:26 +01:00 committed by GitHub
commit e28180f3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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