mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Birthdays: Fix outgoing federation of birth dates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
64944c164f
commit
f8f2a17754
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
|||
end
|
||||
|
||||
birthday =
|
||||
if user.show_birthday,
|
||||
do: user.birthday,
|
||||
if user.show_birthday && user.birthday,
|
||||
do: Date.to_iso8601(user.birthday),
|
||||
else: nil
|
||||
|
||||
%{
|
||||
|
|
Loading…
Reference in a new issue