forked from jitsi/jitsi-meet-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add button to remove conference from recents list
- Loading branch information
freddytuxworth
authored
Jun 18, 2020
1 parent
044c864
commit 111a1ef
Showing
5 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* The type of (redux) action that is dispatched when a conference is removed from the recents list. | ||
* | ||
* @type { | ||
* type: CONFERENCE_REMOVED, | ||
* conference: Object | ||
* } | ||
*/ | ||
export const CONFERENCE_REMOVED = Symbol('CONFERENCE_REMOVED'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// @flow | ||
|
||
import { CONFERENCE_REMOVED } from './actionTypes'; | ||
|
||
/** | ||
* Notifies that conference is removed from recents list. | ||
* | ||
* @param {Object} conference - Conference Details. | ||
* @returns {{ | ||
* type: CONFERENCE_REMOVED, | ||
* conference: Object | ||
* }} | ||
*/ | ||
export function conferenceRemoved(conference: Object) { | ||
return { | ||
type: CONFERENCE_REMOVED, | ||
conference | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters