Support user busy

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Š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
1 changed files with 2 additions and 0 deletions

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