Parcourir la source

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

master
Robert Pintilii il y a 3 ans
Parent
révision
00092d5139
Aucun compte lié à l'adresse e-mail de l'auteur

+ 2
- 2
react/features/av-moderation/middleware.js Voir le fichier

@@ -107,7 +107,7 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
107 107
             sticky: true,
108 108
             titleKey,
109 109
             uid
110
-        }, NOTIFICATION_TIMEOUT_TYPE.STICKY));
110
+        }, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
111 111
 
112 112
         break;
113 113
     }
@@ -223,7 +223,7 @@ StateListenerRegistry.register(
223 223
                         sticky: true,
224 224
                         customActionNameKey: [ 'notify.unmute' ],
225 225
                         customActionHandler: [ () => dispatch(muteLocal(false, MEDIA_TYPE.AUDIO)) ]
226
-                    }, NOTIFICATION_TIMEOUT_TYPE.STICKY));
226
+                    }, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
227 227
                     dispatch(playSound(ASKED_TO_UNMUTE_SOUND_ID));
228 228
                 }
229 229
             });

+ 1
- 1
react/features/base/participants/actions.js Voir le fichier

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

Chargement…
Annuler
Enregistrer