mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-02 08:44:52 +02:00
36 lines
698 B
JavaScript
36 lines
698 B
JavaScript
// @flow
|
|
|
|
import { CONFERENCE_JOINED, CONFERENCE_ENDED } from './actionTypes';
|
|
|
|
/**
|
|
* Notifies that conference is joined.
|
|
*
|
|
* @param {Object} conference - Conference Details.
|
|
* @returns {{
|
|
* type: CONFERENCE_JOINED,
|
|
* conference: Object
|
|
* }}
|
|
*/
|
|
export function conferenceJoined(conference: Object) {
|
|
return {
|
|
type: CONFERENCE_JOINED,
|
|
conference
|
|
};
|
|
}
|
|
|
|
/**
|
|
* Notifies that conference is joined.
|
|
*
|
|
* @param {Object} conference - Conference Details.
|
|
* @returns {{
|
|
* type: CONFERENCE_ENDED,
|
|
* conference: Object
|
|
* }}
|
|
*/
|
|
export function conferenceEnded(conference: Object) {
|
|
return {
|
|
type: CONFERENCE_ENDED,
|
|
conference
|
|
};
|
|
}
|