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
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();
}