Skip to content

Commit d9fbbe1

Browse files
authored
Merge pull request element-hq#12861 from mnoorenberghe/patch-1
Don't immediately remove notifications from notification trays
2 parents f746c70 + b8ca1f9 commit d9fbbe1

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎src/vector/platform/WebPlatform.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,6 @@ export default class WebPlatform extends VectorBasePlatform {
9191
global.focus();
9292
notification.close();
9393
};
94-
95-
// Chrome only dismisses notifications after 20s, which
96-
// is waaaaay too long
97-
global.setTimeout(function() {
98-
notification.close();
99-
}, 5 * 1000);
10094
}
10195

10296
_getVersion(): Promise<string> {

0 commit comments

Comments
 (0)