-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,7 +149,11 @@ class ComposerForm extends Component { | |
|
||
handleVerify = async () => { | ||
const match = await this._pgp(verify, this.props.keychain)() | ||
this.props.setOutput(`Signed message is verified to match: ${ match.name } <${ match.email }>`) | ||
if(typeof match.name === "undefined"){ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
frankcash
Collaborator
|
||
this.props.setOutput('The author of this message appears to not be in your contact list') | ||
}else{ | ||
this.props.setOutput(`Signed message is verified to match: ${ match.name } <${ match.email }>`) | ||
} | ||
} | ||
|
||
getProps = () => { | ||
|
why typeof? :P