Skip to content
Snippets Groups Projects
Commit 9670bcd9 authored by Jono Wenger's avatar Jono Wenger
Browse files

Remove registering of all groups in NewManager because that already occurs in AddService

parent decd385d
Branches
Tags
3 merge requests!510Release,!226WIP: Api2.0,!207WIP: Client Restructure
......@@ -131,18 +131,6 @@ func NewManager(services GroupCmix, e2e GroupE2e, receptionId *id.ID,
return nil, errors.Errorf(errAddDefaultService, err)
}
// Register all groups
for _, gId := range m.GetGroups() {
g, exists := m.GetGroup(gId)
if !exists {
jww.WARN.Printf("[GC] Unexpected failure to locate GroupID %s", gId)
continue
}
// Add all services for this group
m.addAllServices(g)
}
return m, nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment