do not render reposts of badge award events in timelines (#406)

* do not render reposts of badge award events

* fix var name

* only render reposts of kind 1 events
This commit is contained in:
Sam Samskies
2023-03-08 07:30:19 -10:00
committed by GitHub
parent bc72bf6d04
commit c4d8d871a1
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ enum EventKind {
Deletion = 5, // NIP-09
Repost = 6, // NIP-18
Reaction = 7, // NIP-25
BadgeAward = 8, // NIP-58
Relays = 10002, // NIP-65
Ephemeral = 20_000,
Auth = 22242, // NIP-42