Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jitsi-meet/react/features/recent-list/actions.js

38 lines
837 B

// @flow
import {
STORE_CURRENT_CONFERENCE,
UPDATE_CONFERENCE_DURATION
} from './actionTypes';
/**
* Action to initiate a new addition to the list.
*
* @param {Object} locationURL - The current location URL.
* @returns {{
* type: STORE_CURRENT_CONFERENCE,
* locationURL: Object
* }}
*/
export function storeCurrentConference(locationURL: Object) {
return {
type: STORE_CURRENT_CONFERENCE,
locationURL
};
}
/**
* Action to initiate the update of the duration of the last conference.
*
* @param {Object} locationURL - The current location URL.
* @returns {{
* type: UPDATE_CONFERENCE_DURATION,
* locationURL: Object
* }}
*/
export function updateConferenceDuration(locationURL: Object) {
return {
type: UPDATE_CONFERENCE_DURATION,
locationURL
};
}