mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
Copy compression setting while introducing
This commit is contained in:
parent
1392cfc72d
commit
b00264b594
@ -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)
|
l.Infof("Adding device %v to config (vouched for by introducer %v)", id, deviceID)
|
||||||
newDeviceCfg := config.DeviceConfiguration{
|
newDeviceCfg := config.DeviceConfiguration{
|
||||||
DeviceID: id,
|
DeviceID: id,
|
||||||
Compression: true,
|
Compression: m.cfg.Devices()[deviceID].Compression,
|
||||||
Addresses: []string{"dynamic"},
|
Addresses: []string{"dynamic"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user