Merge pull request #5203 from matrix-org/t3chguy/fix/15150

Don't show Notifications Prompt Toast if user has master rule enabled
This commit is contained in:
Michael Telatynski 2020-09-15 14:09:38 +01:00 committed by GitHub
commit 9a3c30b1f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

View file

@ -1344,7 +1344,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
this.firstSyncComplete = true;
this.firstSyncPromise.resolve();
if (Notifier.shouldShowToolbar()) {
if (Notifier.shouldShowPrompt()) {
showNotificationsToast();
}