Room call banner (#9378)
Signed-off-by: Timo K <timok@element.io> Co-authored-by: Timo K <timok@element.io> Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
parent
13db1b17be
commit
372720ec8b
7 changed files with 342 additions and 1 deletions
|
@ -67,6 +67,7 @@ import IconizedContextMenu, {
|
|||
import { ViewRoomPayload } from "../../../dispatcher/payloads/ViewRoomPayload";
|
||||
import { CallDurationFromEvent } from "../voip/CallDuration";
|
||||
import { Alignment } from "../elements/Tooltip";
|
||||
import RoomCallBanner from '../beacon/RoomCallBanner';
|
||||
|
||||
class DisabledWithReason {
|
||||
constructor(public readonly reason: string) { }
|
||||
|
@ -733,6 +734,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
|
|||
{ betaPill }
|
||||
{ buttons }
|
||||
</div>
|
||||
<RoomCallBanner roomId={this.props.room.roomId} />
|
||||
<RoomLiveShareWarning roomId={this.props.room.roomId} />
|
||||
</header>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue