logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 072e965015698a3198242aad3ad969a696b8f03e
parent: b7923aa304c23963fd51731579a54949fa639762
Author: Haelwenn <git.pleroma.social@hacktivis.me>
Date:   Mon,  3 Sep 2018 02:03:51 +0000

Merge branch 'patch-2' into 'develop'

Render notification IDs as strings, not numbers

See merge request pleroma/pleroma!325

Diffstat:

Mlib/pleroma/web/mastodon_api/mastodon_api_controller.ex2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/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" -> %{