Merge branch 'add-local-field-to-status' into 'develop'
MastoAPI StatusView: Add locality indicator. See merge request pleroma/pleroma!920
This commit is contained in:
commit
2c8deecdd2
3 changed files with 18 additions and 3 deletions
|
|
@ -102,7 +102,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
website: nil
|
||||
},
|
||||
language: nil,
|
||||
emojis: []
|
||||
emojis: [],
|
||||
pleroma: %{
|
||||
local: activity.local
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
@ -181,7 +184,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
website: nil
|
||||
},
|
||||
language: nil,
|
||||
emojis: build_emojis(activity.data["object"]["emoji"])
|
||||
emojis: build_emojis(activity.data["object"]["emoji"]),
|
||||
pleroma: %{
|
||||
local: activity.local
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue