mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-18 17:57:47 +00:00
setNoSrcDataNotificationUid
This commit is contained in:
committed by
Hristo Terezov
parent
191da551e3
commit
7828bf8d46
@@ -3,11 +3,11 @@
|
||||
* no data from source notification. Used to check if such a notification was previously displayed.
|
||||
*
|
||||
* {
|
||||
* type: SET_NO_SRC_DATA_NOTI_UID,
|
||||
* type: SET_NO_SRC_DATA_NOTIFICATION_UID,
|
||||
* uid: ?number
|
||||
* }
|
||||
*/
|
||||
export const SET_NO_SRC_DATA_NOTI_UID = 'SET_NO_SRC_DATA_NOTI_UID';
|
||||
export const SET_NO_SRC_DATA_NOTIFICATION_UID = 'SET_NO_SRC_DATA_NOTIFICATION_UID';
|
||||
|
||||
/**
|
||||
* The type of redux action dispatched to disable screensharing or to start the
|
||||
|
||||
@@ -2,7 +2,7 @@ import { PARTICIPANT_ID_CHANGED } from '../participants';
|
||||
import { ReducerRegistry, set } from '../redux';
|
||||
|
||||
import {
|
||||
SET_NO_SRC_DATA_NOTI_UID,
|
||||
SET_NO_SRC_DATA_NOTIFICATION_UID,
|
||||
TRACK_ADDED,
|
||||
TRACK_CREATE_CANCELED,
|
||||
TRACK_CREATE_ERROR,
|
||||
@@ -140,7 +140,7 @@ ReducerRegistry.register('features/base/tracks', (state = [], action) => {
|
||||
*/
|
||||
ReducerRegistry.register('features/base/no-src-data', (state = {}, action) => {
|
||||
switch (action.type) {
|
||||
case SET_NO_SRC_DATA_NOTI_UID:
|
||||
case SET_NO_SRC_DATA_NOTIFICATION_UID:
|
||||
return set(state, 'noSrcDataNotificationUid', action.uid);
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user