Commit 34a4ed22 authored by kaniini's avatar kaniini
Browse files

twitter api: add "Video" to supported activity types list

parent 873938d2
...@@ -301,7 +301,8 @@ def render_content(%{"type" => "Note"} = object) do ...@@ -301,7 +301,8 @@ def render_content(%{"type" => "Note"} = object) 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 =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment