Merge branch 'merge-upstream' into 'develop'

Birthdays: Fix outgoing federation of birth dates

See merge request soapbox-pub/soapbox!89
This commit is contained in:
Alex Gleason 2022-02-01 15:47:43 +00:00
commit d683d6d4f3

View file

@ -93,8 +93,8 @@ def render("user.json", %{user: user}) do
end
birthday =
if user.show_birthday,
do: user.birthday,
if user.show_birthday && user.birthday,
do: Date.to_iso8601(user.birthday),
else: nil
%{