Support user busy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
521b2445a8
commit
78229a2fd0
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ export default class CallEvent extends React.Component<IProps, IState> {
|
||||||
reason = _t("An unknown error occurred");
|
reason = _t("An unknown error occurred");
|
||||||
} else if (hangupReason === "invite_timeout") {
|
} else if (hangupReason === "invite_timeout") {
|
||||||
reason = _t("No answer");
|
reason = _t("No answer");
|
||||||
|
} else if (hangupReason === "user_busy") {
|
||||||
|
reason = _t("The user you called is busy.");
|
||||||
} else {
|
} else {
|
||||||
reason = _t('Unknown failure: %(reason)s)', {reason: hangupReason});
|
reason = _t('Unknown failure: %(reason)s)', {reason: hangupReason});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue