This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
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 years ago
parent
b7923aa304
35515cfa66
commit
072e965015
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
+ 2
- 0
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
View File
@@ -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" ->
%{
Write
Preview
Loading…
Cancel
Save