Fix bug with copying user pubkey

Co-authored-by: William Casarin <jb55@jb55.com>
Changelog-Fixed: Fixed bug where copying pubkey from context menu only copied your own pubkey
Closes: #425
This commit is contained in:
2023-01-28 22:22:26 -05:00
committed by William Casarin
parent 49f64e7f49
commit bb6a09179e
7 changed files with 13 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ struct DamusState {
var pubkey: String {
return keypair.pubkey
}
var is_privkey_user: Bool {
keypair.privkey != nil
}