From c5085a302667f231d5ae75a3add6ad5fa79f4f34 Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Sat, 28 Jan 2023 22:22:26 -0500 Subject: [PATCH] Fix bug with copying user pubkey --- damus/Views/Events/EventMenu.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/Events/EventMenu.swift b/damus/Views/Events/EventMenu.swift index de0f8da5..6a800154 100644 --- a/damus/Views/Events/EventMenu.swift +++ b/damus/Views/Events/EventMenu.swift @@ -20,7 +20,7 @@ struct EventMenuContext: View { } Button { - UIPasteboard.general.string = keypair.pubkey_bech32 + UIPasteboard.general.string = bech32_pubkey(event.pubkey) } label: { Label(NSLocalizedString("Copy User Pubkey", comment: "Context menu option for copying the ID of the user who created the note."), systemImage: "person") }