From b00264b5941a82624c5e332a4f3e89a045b8978b Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Sun, 7 Dec 2014 22:43:30 +0000 Subject: [PATCH] Copy compression setting while introducing --- internal/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/model.go b/internal/model/model.go index 13135166b..dd99b0d3d 100644 --- a/internal/model/model.go +++ b/internal/model/model.go @@ -576,7 +576,7 @@ func (m *Model) ClusterConfig(deviceID protocol.DeviceID, cm protocol.ClusterCon l.Infof("Adding device %v to config (vouched for by introducer %v)", id, deviceID) newDeviceCfg := config.DeviceConfiguration{ DeviceID: id, - Compression: true, + Compression: m.cfg.Devices()[deviceID].Compression, Addresses: []string{"dynamic"}, }