mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-05-12 11:39:58 +02:00
nip29: fix roles event kind.
This commit is contained in:
parent
456f8687ed
commit
b62678e606
@ -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)),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user