Fix various bugs

This commit is contained in:
Jon Staab
2025-10-22 11:03:29 -07:00
parent 45716de712
commit b68701ae59
6 changed files with 61 additions and 40 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ func (g *GroupStore) AddMember(h string, pubkey nostr.PubKey) error {
},
}
return g.Events.SignAndSaveEvent(event, true)
return g.Events.SignAndStoreEvent(event, true)
}
func (g *GroupStore) RemoveMember(h string, pubkey nostr.PubKey) error {
@@ -57,7 +57,7 @@ func (g *GroupStore) RemoveMember(h string, pubkey nostr.PubKey) error {
},
}
return g.Events.SignAndSaveEvent(event, true)
return g.Events.SignAndStoreEvent(event, true)
}
func (g *GroupStore) SetMetadataFromEvent(event nostr.Event) error {
@@ -77,7 +77,7 @@ func (g *GroupStore) SetMetadataFromEvent(event nostr.Event) error {
Tags: tags,
}
return g.Events.SignAndSaveEvent(metadataEvent, true)
return g.Events.SignAndStoreEvent(metadataEvent, true)
}
func (g *GroupStore) DeleteGroup(h string) {