mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
@@ -109,15 +109,18 @@ export default class MKeyVerificationConclusion extends React.Component<IProps>
|
|||||||
let title;
|
let title;
|
||||||
|
|
||||||
if (request.done) {
|
if (request.done) {
|
||||||
title = _t("You verified %(name)s", { name: getNameForEventRoom(request.otherUserId, mxEvent) });
|
title = _t(
|
||||||
|
"You verified %(name)s",
|
||||||
|
{ name: getNameForEventRoom(request.otherUserId, mxEvent.getRoomId()) },
|
||||||
|
);
|
||||||
} else if (request.cancelled) {
|
} else if (request.cancelled) {
|
||||||
const userId = request.cancellingUserId;
|
const userId = request.cancellingUserId;
|
||||||
if (userId === myUserId) {
|
if (userId === myUserId) {
|
||||||
title = _t("You cancelled verifying %(name)s",
|
title = _t("You cancelled verifying %(name)s",
|
||||||
{ name: getNameForEventRoom(request.otherUserId, mxEvent) });
|
{ name: getNameForEventRoom(request.otherUserId, mxEvent.getRoomId()) });
|
||||||
} else {
|
} else {
|
||||||
title = _t("%(name)s cancelled verifying",
|
title = _t("%(name)s cancelled verifying",
|
||||||
{ name: getNameForEventRoom(userId, mxEvent) });
|
{ name: getNameForEventRoom(userId, mxEvent.getRoomId()) });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user