mirror of https://github.com/vector-im/riot-web
make the linter happy
parent
ddd6713e7e
commit
d83f3632f6
|
@ -103,9 +103,11 @@ export default class MKeyVerificationConclusion extends React.Component {
|
||||||
title = _t("You verified %(name)s", {name: getNameForEventRoom(this.state.otherPartyUserId, mxEvent)});
|
title = _t("You verified %(name)s", {name: getNameForEventRoom(this.state.otherPartyUserId, mxEvent)});
|
||||||
} else if (this.state.cancelled) {
|
} else if (this.state.cancelled) {
|
||||||
if (mxEvent.getSender() === myUserId) {
|
if (mxEvent.getSender() === myUserId) {
|
||||||
title = _t("You cancelled verifying %(name)s", {name: getNameForEventRoom(this.state.otherPartyUserId, mxEvent)});
|
title = _t("You cancelled verifying %(name)s",
|
||||||
|
{name: getNameForEventRoom(this.state.otherPartyUserId, mxEvent)});
|
||||||
} else if (mxEvent.getSender() === this.state.otherPartyUserId) {
|
} else if (mxEvent.getSender() === this.state.otherPartyUserId) {
|
||||||
title = _t("%(name)s cancelled verifying", {name: getNameForEventRoom(this.state.otherPartyUserId, mxEvent)});
|
title = _t("%(name)s cancelled verifying",
|
||||||
|
{name: getNameForEventRoom(this.state.otherPartyUserId, mxEvent)});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -558,7 +558,8 @@ module.exports = createReactClass({
|
||||||
const isBubbleMessage = eventType.startsWith("m.key.verification") ||
|
const isBubbleMessage = eventType.startsWith("m.key.verification") ||
|
||||||
(eventType === "m.room.message" && msgtype.startsWith("m.key.verification"));
|
(eventType === "m.room.message" && msgtype.startsWith("m.key.verification"));
|
||||||
let isInfoMessage = (
|
let isInfoMessage = (
|
||||||
!isBubbleMessage && eventType !== 'm.room.message' && eventType !== 'm.sticker' && eventType != 'm.room.create'
|
!isBubbleMessage && eventType !== 'm.room.message' &&
|
||||||
|
eventType !== 'm.sticker' && eventType != 'm.room.create'
|
||||||
);
|
);
|
||||||
|
|
||||||
let tileHandler = getHandlerTile(this.props.mxEvent);
|
let tileHandler = getHandlerTile(this.props.mxEvent);
|
||||||
|
|
Loading…
Reference in New Issue