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:
Timo 2022-10-17 21:36:17 +02:00 committed by GitHub
parent 13db1b17be
commit 372720ec8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 342 additions and 1 deletions

View file

@ -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>
);