Browse Source

fix(PrPage): reply tags parent event

fixing reference to the pr event instead of the direct parent event
master
DanConwayDev 2 years ago
parent
commit
d2756c2b83
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 2
      src/lib/wrappers/Compose.svelte

2
src/lib/wrappers/Compose.svelte

@ -32,7 +32,7 @@
event.kind = reply_kind event.kind = reply_kind
event.tags.push(['e', pr_id, 'root']) event.tags.push(['e', pr_id, 'root'])
if (reply_to_event_id.length > 0) { if (reply_to_event_id.length > 0) {
event.tags.push(['e', pr_id, 'reply']) event.tags.push(['e', reply_to_event_id, 'reply'])
} }
if ($selected_repo.unique_commit) { if ($selected_repo.unique_commit) {
event.tags.push(['r', $selected_repo.unique_commit]) event.tags.push(['r', $selected_repo.unique_commit])

Loading…
Cancel
Save