git ssb

16+

Dominic / patchbay



Commit 90354b9e4feea3ca7c89e032838a25276a86f96d

Fix config merge

Anders Rune Jensen committed on 2/7/2019, 8:11:43 PM
Parent: 567390e76391b1a414b24872b0f4bdb48c2e48b4

Files changed

config.jschanged
config.jsView
@@ -50,14 +50,16 @@
5050 function PubHopSettings (config) {
5151 const pubHopAll = 3
5252 let pubHopConnections = settings.create().settings.sync.get('patchbay.pubHopConnections', pubHopAll)
5353 if (pubHopConnections != pubHopAll) {
54- return {
55- friendPub: { hops: pubHopConnections },
56- gossip: {
57- friends: true,
58- global: false
59- }
60- }
54 + return merge(
55 + config,
56 + {
57 + friendPub: { hops: pubHopConnections },
58 + gossip: {
59 + friends: true,
60 + global: false
61 + }
62 + })
6163 } else
62- return {}
64 + return config
6365 }

Built with git-ssb-web