mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 23:31:30 +03:00
Rename callState to timelineCallState
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
5e4a10ab84
commit
8eb24d0d74
1 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,8 @@ import { TimelineCallState } from '../../structures/CallEventGrouper';
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
mxEvent: MatrixEvent;
|
mxEvent: MatrixEvent;
|
||||||
callState: TimelineCallState;
|
timelineCallState: TimelineCallState;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class CallEvent extends React.Component<IProps> {
|
export default class CallEvent extends React.Component<IProps> {
|
||||||
|
@ -46,7 +47,7 @@ export default class CallEvent extends React.Component<IProps> {
|
||||||
{ sender }
|
{ sender }
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_CallEvent_type">
|
<div className="mx_CallEvent_type">
|
||||||
{ this.props.callState.isVoice ? _t("Voice call") : _t("Video call") }
|
{ this.props.timelineCallState.isVoice ? _t("Voice call") : _t("Video call") }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue