forked from coracle/zooid
Serve group delete events even when the group is gone
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ func (g *GroupStore) CanRead(pubkey nostr.PubKey, event nostr.Event) bool {
|
|||||||
meta, found := g.GetMetadata(h)
|
meta, found := g.GetMetadata(h)
|
||||||
|
|
||||||
if !found {
|
if !found {
|
||||||
return false
|
return event.Kind == nostr.KindSimpleGroupDeleteGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
if HasTag(meta.Tags, "hidden") && !g.HasAccess(h, pubkey) {
|
if HasTag(meta.Tags, "hidden") && !g.HasAccess(h, pubkey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user