don't use removed .event property anymore on verification request

This commit is contained in:
Bruno Windels 2020-01-24 11:57:57 +01:00
parent 50b05551ba
commit 2483337e89
4 changed files with 25 additions and 27 deletions

View file

@ -93,7 +93,7 @@ export default class MKeyVerificationConclusion extends React.Component {
}
if (title) {
const subtitle = userLabelForEventRoom(request.otherUserId, mxEvent);
const subtitle = userLabelForEventRoom(request.otherUserId, mxEvent.getRoomId());
const classes = classNames("mx_EventTile_bubble", "mx_KeyVerification", "mx_KeyVerification_icon", {
mx_KeyVerification_icon_verified: request.done,
});