peer is a public data

This commit is contained in:
mr 2025-02-04 12:07:09 +01:00
parent 2ccb57ffb0
commit 3061df4f13

View File

@ -92,9 +92,6 @@ func (d *CollaborativeArea) GetAccessor(request *tools.APIRequest) utils.Accesso
}
func (d *CollaborativeArea) Trim() *CollaborativeArea {
if ok, _ := (&peer.Peer{AbstractObject: utils.AbstractObject{UUID: d.CreatorID}}).IsMySelf(); !ok {
d.AllowedPeersGroup = map[string][]string{}
}
return d
}