浏览代码

Merge branch 'patch-2' into 'develop'

Render notification IDs as strings, not numbers

See merge request pleroma/pleroma!325
tags/v0.9.9
Haelwenn 5 年前
父节点
当前提交
072e965015
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

+ 2
- 0
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex 查看文件

@@ -1030,6 +1030,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
NaiveDateTime.to_iso8601(created_at)
|> String.replace(~r/(\.\d+)?$/, ".000Z", global: false)

id = id |> to_string

case activity.data["type"] do
"Create" ->
%{


正在加载...
取消
保存