mirror of
git://jb55.com/damus
synced 2024-09-19 19:46:51 +00:00
Fix profile post button mentions
Fix for second part of issue #1352 where if you submit a reply from the + on a profile, it uses the hex nostr url rather than the bech32 version. When typing the @ manually it uses the bech32 so updated to mirror this. Changelog-Fixed: Fix profile post button mentions Closes: #1355
This commit is contained in:
parent
cf4131f867
commit
4478348d10
@ -195,7 +195,8 @@ struct PostView: View {
|
||||
}
|
||||
|
||||
let profile = damus_state.profiles.lookup(id: pubkey)
|
||||
return user_tag_attr_string(profile: profile, pubkey: pubkey)
|
||||
let bech32_pubkey = bech32_pubkey(pubkey) ?? ""
|
||||
return user_tag_attr_string(profile: profile, pubkey: bech32_pubkey)
|
||||
}
|
||||
|
||||
func clear_draft() {
|
||||
|
Loading…
Reference in New Issue
Block a user