Explorar o código

Merge branch 'fix-discoverable-setting' into 'develop'

fix "allow discovery" setting misbehaving

See merge request pleroma/pleroma-fe!1518
HJ %!s(int64=2) %!d(string=hai) anos
pai
achega
96a24ec625
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/modules/serverSideConfig.js

+ 4 - 1
src/modules/serverSideConfig.js

@@ -55,7 +55,10 @@ export const settingsMap = {
     get: 'pleroma.allow_following_move',
     set: 'allow_following_move'
   },
-  'discoverable': 'source.discoverable',
+  'discoverable': {
+    get: 'source.pleroma.discoverable',
+    set: 'discoverable'
+  },
   'hideFavorites': {
     get: 'pleroma.hide_favorites',
     set: 'hide_favorites'