Format
This commit is contained in:
parent
89c5de9096
commit
c8a16f334d
1 changed files with 3 additions and 0 deletions
|
@ -353,6 +353,7 @@ def make_unfollow_data(follower, followed, follow_activity, activity_id) do
|
|||
"to" => [followed.ap_id],
|
||||
"object" => follow_activity.data
|
||||
}
|
||||
|
||||
if activity_id, do: Map.put(data, "id", activity_id), else: data
|
||||
end
|
||||
|
||||
|
@ -381,6 +382,7 @@ def make_block_data(blocker, blocked, activity_id) do
|
|||
"to" => [blocked.ap_id],
|
||||
"object" => blocked.ap_id
|
||||
}
|
||||
|
||||
if activity_id, do: Map.put(data, "id", activity_id), else: data
|
||||
end
|
||||
|
||||
|
@ -391,6 +393,7 @@ def make_unblock_data(blocker, blocked, block_activity, activity_id) do
|
|||
"to" => [blocked.ap_id],
|
||||
"object" => block_activity.data
|
||||
}
|
||||
|
||||
if activity_id, do: Map.put(data, "id", activity_id), else: data
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue