瀏覽代碼

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

fix "allow discovery" setting misbehaving

See merge request pleroma/pleroma-fe!1518
HJ 2 年之前
父節點
當前提交
96a24ec625
共有 1 個文件被更改,包括 4 次插入1 次删除
  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'