light modification
This commit is contained in:
parent
99693d8ec0
commit
df04133551
@ -43,6 +43,9 @@ type CollaborativeArea struct {
|
||||
}
|
||||
|
||||
func (ao *CollaborativeArea) Clear(peerID string) {
|
||||
if ao.AllowedPeersGroup == nil {
|
||||
ao.AllowedPeersGroup = map[string][]string{}
|
||||
}
|
||||
ao.CreatorID = peerID
|
||||
if config.GetConfig().Whitelist {
|
||||
ao.AllowedPeersGroup[peerID] = []string{"*"}
|
||||
|
Loading…
Reference in New Issue
Block a user