Fix posting non-polls from mastofe
这个提交包含在:
父节点
aafe30d94e
当前提交
a53d062730
@ -157,7 +157,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
||||
end
|
||||
end
|
||||
|
||||
def make_poll_data(%{"poll" => _}) do
|
||||
def make_poll_data(%{"poll" => poll}) when is_map(poll) do
|
||||
"Invalid poll"
|
||||
end
|
||||
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户