mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-25 14:14:00 +01:00
Fix external url in twitterapi.
This commit is contained in:
parent
82e34cae95
commit
7e0ce32f4d
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
|
||||||
"repeat_num" => announcement_count,
|
"repeat_num" => announcement_count,
|
||||||
"favorited" => to_boolean(favorited),
|
"favorited" => to_boolean(favorited),
|
||||||
"repeated" => to_boolean(repeated),
|
"repeated" => to_boolean(repeated),
|
||||||
"external_url" => object["external_url"],
|
"external_url" => object["external_url"] || object["id"],
|
||||||
"tags" => tags,
|
"tags" => tags,
|
||||||
"activity_type" => "post",
|
"activity_type" => "post",
|
||||||
"possibly_sensitive" => possibly_sensitive
|
"possibly_sensitive" => possibly_sensitive
|
||||||
|
|
Loading…
Add table
Reference in a new issue