Mastodon makes this field null when posting with MastoFE or if you choose to not disclose it, so it's safe to be null by default

This commit is contained in:
Mark Felder 2021-02-18 16:35:03 -06:00
commit d5ef02c7a7
4 changed files with 7 additions and 9 deletions

View file

@ -266,10 +266,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
url: "http://localhost:4001/tag/#{object_data["tag"]}"
}
],
application: %{
name: "Web",
website: nil
},
application: nil,
language: nil,
emojis: [
%{