Skip to content

Commit e28180f

Browse files
authored
Merge pull request element-hq#7462 from vector-im/dbkr/gone_away_is_the_bluebird
Silence bluebird warnings
2 parents a9e98e6 + bccccb2 commit e28180f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/vector/index.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ import CallHandler from 'matrix-react-sdk/lib/CallHandler';
6060

6161
import {getVectorConfig} from './getconfig';
6262

63+
// Disable warnings for now: we use deprecated bluebird functions
64+
// and need to migrate, but they spam the console with warnings.
65+
Promise.config({warnings: false});
66+
6367
let lastLocationHashSet = null;
6468

6569
function initRageshake() {

0 commit comments

Comments
 (0)