Fix groups

This commit is contained in:
vshcherb 2014-05-28 18:53:13 +02:00
parent 742c1b01bb
commit fbd3476483

View file

@ -169,7 +169,7 @@ public class OsMoGroups implements OsMoReactor, OsmoTrackerListener {
mergeGroup(group, obj, true);
group.active = true;
// connect to all devices in group
for(OsMoDevice d : storage.getMainGroup().getGroupUsers()) {
for(OsMoDevice d : group.getGroupUsers()) {
connectDeviceImpl(d);
}
storage.save();