From 3c5c7f56f3f4fffa08a17ee53402abc49250b1d6 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 12 May 2020 11:14:05 +0100 Subject: [PATCH] Adjust comment --- src/components/views/right_panel/VerificationPanel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/right_panel/VerificationPanel.js b/src/components/views/right_panel/VerificationPanel.js index ff3700e143..76507d8d4f 100644 --- a/src/components/views/right_panel/VerificationPanel.js +++ b/src/components/views/right_panel/VerificationPanel.js @@ -227,9 +227,9 @@ export default class VerificationPanel extends React.PureComponent { if (request.isSelfVerification) { const device = this._getDevice(); if (!device) { - // This shouldn't happen, although rageshake would indicate that it is: log a warn - // and leave the message slightly broken (avoid adding a translatable string for a - // case that shouldn't be happening). + // This can happen if the device is logged out while we're still showing verification + // UI for it. + // Leave the message slightly broken for this edge case (avoid adding a translatable string) console.warn("Verified device we don't know about: " + this.props.request.channel.deviceId); } description = _t("You've successfully verified %(deviceName)s (%(deviceId)s)!", {