twitter api: add "Video" to supported activity types list
This commit is contained in:
parent
873938d223
commit
34a4ed22c4
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue