Rename callState to timelineCallState

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-06-01 08:01:34 +02:00
parent 5e4a10ab84
commit 8eb24d0d74
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ import { TimelineCallState } from '../../structures/CallEventGrouper';
interface IProps {
mxEvent: MatrixEvent;
callState: TimelineCallState;
timelineCallState: TimelineCallState;
}
}
export default class CallEvent extends React.Component<IProps> {
@ -46,7 +47,7 @@ export default class CallEvent extends React.Component<IProps> {
{ sender }
</div>
<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>