fix reply ids

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-04-17 11:40:48 -07:00
parent 550f096808
commit 0ac3218952
3 changed files with 9 additions and 6 deletions

View File

@@ -121,7 +121,7 @@ struct ContentView: View {
let privkey = ""
let new_ev = NostrEvent(content: post.content, pubkey: pubkey)
for id in post.references {
var tag = ["e", id.ref_id]
var tag = [id.key, id.ref_id]
if let relay_id = id.relay_id {
tag.append(relay_id)
}