Say when a call was answered from a different device (#10224)

* Say when a call was answered from a different device

* Adjust font size on call tiles to match designs
This commit is contained in:
Robin
2023-02-24 09:45:53 -05:00
committed by GitHub
parent 73de53468a
commit 4c79ecf141
4 changed files with 12 additions and 2 deletions

View File

@@ -191,6 +191,13 @@ export default class LegacyCallEvent extends React.PureComponent<IProps, IState>
{this.props.timestamp}
</div>
);
} else if (hangupReason === CallErrorCode.AnsweredElsewhere) {
return (
<div className="mx_LegacyCallEvent_content">
{_t("Answered elsewhere")}
{this.props.timestamp}
</div>
);
}
let reason;