Mastodon API: Add support for posting polls

This commit is contained in:
rinpatch 2019-05-18 13:29:28 +03:00
commit fd920c8973
4 changed files with 82 additions and 9 deletions

View file

@ -103,6 +103,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
muted: false,
pinned: false,
sensitive: false,
poll: nil,
spoiler_text: HtmlSanitizeEx.basic_html(note.data["object"]["summary"]),
visibility: "public",
media_attachments: [],