Fix some config Copy() things we had forgotten

This commit is contained in:
Jakob Borg
2015-10-27 11:53:42 +01:00
parent 724c1e297f
commit 679f0f9363
3 changed files with 14 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ func (f FolderConfiguration) Copy() FolderConfiguration {
c := f
c.Devices = make([]FolderDeviceConfiguration, len(f.Devices))
copy(c.Devices, f.Devices)
c.Versioning = f.Versioning.Copy()
return c
}