Browse Source

feat: display delete events

to indicate the user wanted to delete the event
master
DanConwayDev 2 years ago
parent
commit
1417d2b2a3
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 4
      src/lib/wrappers/EventCard.svelte

4
src/lib/wrappers/EventCard.svelte

@ -49,6 +49,10 @@
<EventWrapperLite author={$author} created_at={event.created_at}> <EventWrapperLite author={$author} created_at={event.created_at}>
reposted by reposted by
</EventWrapperLite> </EventWrapperLite>
{:else if event.kind && event.kind === 5}
<EventWrapperLite author={$author} created_at={event.created_at}>
deletion requested by
</EventWrapperLite>
{:else if event.kind && event.kind === 30001} {:else if event.kind && event.kind === 30001}
<EventWrapperLite author={$author} created_at={event.created_at}> <EventWrapperLite author={$author} created_at={event.created_at}>
added to '{getDtag(event) || 'unknown'}' list by added to '{getDtag(event) || 'unknown'}' list by

Loading…
Cancel
Save