GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Ryan He (ryanhe@pastwind.top)'s status on Friday, 01-Dec-2023 10:36:26 JSTRyan HeRyan He

    昨天修了兩個 relay 的 bug,一個是 log 不會顯示的問題,另一個是伺服器解除 follow 時,relay 不會解除 follow 的問題。

    第一個問題很簡單,程式裡面用了 verbose 這個功能,但是 logging 套件只支援 info warning error debug,不過用了不存在的功能不會跳錯誤也很怪。總之改成 info 就修好了。

    第二個問題花了一段時間才解決,因為要找出成是在哪個部份運作的不如預期。最後發現原作者寫的功能會檢查 follow 與 undo 時送出的 id 是否相同,但我測試至少 #Mastodon #Misskey #Rebased(Pleroma) 都會送出不同的 id,所以 relay 不會進行解除 follow。解法就只能忽略 id。

    In conversationFriday, 01-Dec-2023 10:36:26 JST from pastwind.toppermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.