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") }