From b62678e6062b04d69504f073919c6953e3a94c70 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 11 Nov 2024 12:45:26 -0300 Subject: [PATCH] nip29: fix roles event kind. --- nip29/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip29/group.go b/nip29/group.go index 6a5ecde..9d9e1df 100644 --- a/nip29/group.go +++ b/nip29/group.go @@ -199,7 +199,7 @@ func (group Group) ToMembersEvent() *nostr.Event { func (group Group) ToRolesEvent() *nostr.Event { evt := &nostr.Event{ - Kind: nostr.KindSimpleGroupMembers, + Kind: nostr.KindSimpleGroupRoles, CreatedAt: group.LastMembersUpdate, Tags: make(nostr.Tags, 1, 1+len(group.Members)), }