for self-verif, mention which device, not user we're verifying in panel
This commit is contained in:
parent
2ee780caa2
commit
030d594e67
3 changed files with 29 additions and 6 deletions
|
@ -107,8 +107,15 @@ export default class VerificationShowSas extends React.Component {
|
|||
if (this.state.pending || this.state.cancelling) {
|
||||
let text;
|
||||
if (this.state.pending) {
|
||||
const {displayName} = this.props;
|
||||
text = _t("Waiting for %(displayName)s to verify…", {displayName});
|
||||
if (this.props.isSelf) {
|
||||
text = _t("Waiting for your other session, %(deviceName)s (%(deviceId)s), to verify…", {
|
||||
deviceName: this.props.device.getDisplayName(),
|
||||
deviceId: this.props.device.deviceId,
|
||||
});
|
||||
} else {
|
||||
const {displayName} = this.props;
|
||||
text = _t("Waiting for %(displayName)s to verify…", {displayName});
|
||||
}
|
||||
} else {
|
||||
text = _t("Cancelling…");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue