You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Support user busy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -110,6 +110,8 @@ export default class CallEvent extends React.Component<IProps, IState> {
|
||||
reason = _t("An unknown error occurred");
|
||||
} else if (hangupReason === "invite_timeout") {
|
||||
reason = _t("No answer");
|
||||
} else if (hangupReason === "user_busy") {
|
||||
reason = _t("The user you called is busy.");
|
||||
} else {
|
||||
reason = _t('Unknown failure: %(reason)s)', {reason: hangupReason});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user