mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-24 21:53:59 +01:00
twitter api: add "Video" to supported activity types list
This commit is contained in:
parent
873938d223
commit
34a4ed22c4
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
|
||||||
{summary, content}
|
{summary, content}
|
||||||
end
|
end
|
||||||
|
|
||||||
def render_content(%{"type" => object_type} = object) when object_type in ["Article", "Page"] do
|
def render_content(%{"type" => object_type} = object)
|
||||||
|
when object_type in ["Article", "Page", "Video"] do
|
||||||
summary = object["name"] || object["summary"]
|
summary = object["name"] || object["summary"]
|
||||||
|
|
||||||
content =
|
content =
|
||||||
|
|
Loading…
Add table
Reference in a new issue