fix(notifications) Change moderation notifications to medium (#11262)

This commit is contained in:
Robert Pintilii 2022-03-30 17:24:50 +03:00 committed by GitHub
parent 1355876f83
commit 00092d5139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
sticky: true,
titleKey,
uid
}, NOTIFICATION_TIMEOUT_TYPE.STICKY));
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
break;
}
@ -223,7 +223,7 @@ StateListenerRegistry.register(
sticky: true,
customActionNameKey: [ 'notify.unmute' ],
customActionHandler: [ () => dispatch(muteLocal(false, MEDIA_TYPE.AUDIO)) ]
}, NOTIFICATION_TIMEOUT_TYPE.STICKY));
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
dispatch(playSound(ASKED_TO_UNMUTE_SOUND_ID));
}
});

View File

@ -479,7 +479,7 @@ export function participantMutedUs(participant, track) {
titleArguments: {
participantDisplayName: getParticipantDisplayName(getState, participant.getId())
}
}, NOTIFICATION_TIMEOUT_TYPE.LONG));
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
};
}