Support user busy

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-06-02 10:20:11 +02:00
parent 521b2445a8
commit 78229a2fd0
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -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});
}