Add notification to group chat rooms with ongoing conf calls
This notification disappears when in the conf call / when the call is over. CSS stolen from the desktop notification bar.
This commit is contained in:
parent
353269370f
commit
f384aa7d9e
5 changed files with 68 additions and 10 deletions
|
@ -89,6 +89,7 @@ module.exports = React.createClass({
|
|||
call_element = <CallView className="mx_MatrixChat_callView"/>
|
||||
}
|
||||
|
||||
// TODO: Fix duplication here and do conditionals like we do above
|
||||
if (Notifier.supportsDesktopNotifications() && !Notifier.isEnabled() && !Notifier.isToolbarHidden()) {
|
||||
return (
|
||||
<div className="mx_MatrixChat_wrapper">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue