Skip to content

Commit

Permalink
nip29: fix roles event kind.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Nov 11, 2024
1 parent 456f868 commit b62678e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nip29/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
}
Expand Down

0 comments on commit b62678e

Please sign in to comment.