Commit 34a4ed22 authored by William Pitcock's avatar William Pitcock

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

parent 873938d2
......@@ -301,7 +301,8 @@ def render_content(%{"type" => "Note"} = object) do
{summary, content}
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"]
content =
......
Markdown is supported
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