Adjust comment
This commit is contained in:
parent
5c0920da42
commit
3c5c7f56f3
1 changed files with 3 additions and 3 deletions
|
@ -227,9 +227,9 @@ export default class VerificationPanel extends React.PureComponent {
|
||||||
if (request.isSelfVerification) {
|
if (request.isSelfVerification) {
|
||||||
const device = this._getDevice();
|
const device = this._getDevice();
|
||||||
if (!device) {
|
if (!device) {
|
||||||
// This shouldn't happen, although rageshake would indicate that it is: log a warn
|
// This can happen if the device is logged out while we're still showing verification
|
||||||
// and leave the message slightly broken (avoid adding a translatable string for a
|
// UI for it.
|
||||||
// case that shouldn't be happening).
|
// 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);
|
console.warn("Verified device we don't know about: " + this.props.request.channel.deviceId);
|
||||||
}
|
}
|
||||||
description = _t("You've successfully verified %(deviceName)s (%(deviceId)s)!", {
|
description = _t("You've successfully verified %(deviceName)s (%(deviceId)s)!", {
|
||||||
|
|
Loading…
Reference in a new issue