(Hopefully) improve grammar

[CI skip]
This commit is contained in:
Damien
2019-10-15 21:18:03 +02:00
parent 5f934e3449
commit b98a86184b
19 changed files with 33 additions and 33 deletions

View File

@@ -480,7 +480,7 @@ defmodule Mobilizon.Service.ActivityPub do
end
@doc """
Create an actor locally by it's URL (AP ID)
Create an actor locally by its URL (AP ID)
"""
@spec make_actor_from_url(String.t(), boolean()) :: {:ok, %Actor{}} | {:error, any()}
def make_actor_from_url(url, preload \\ false) do
@@ -520,7 +520,7 @@ defmodule Mobilizon.Service.ActivityPub do
def find_or_make_group_from_nickname(nick), do: find_or_make_actor_from_nickname(nick, :Group)
@doc """
Create an actor inside our database from username, using WebFinger to find out it's AP ID and then fetch it
Create an actor inside our database from username, using WebFinger to find out its AP ID and then fetch it
"""
@spec make_actor_from_nickname(String.t()) :: {:ok, %Actor{}} | {:error, any()}
def make_actor_from_nickname(nickname) do
@@ -611,7 +611,7 @@ defmodule Mobilizon.Service.ActivityPub do
)
end
# Fetching a remote actor's information through it's AP ID
# Fetching a remote actor's information through its AP ID
@spec fetch_and_prepare_actor_from_url(String.t()) :: {:ok, struct()} | {:error, atom()} | any()
defp fetch_and_prepare_actor_from_url(url) do
Logger.debug("Fetching and preparing actor from url")

View File

@@ -54,7 +54,7 @@ defmodule Mobilizon.Service.Export.Feed do
end
end
# Build an atom feed from actor and it's public events
# Build an atom feed from actor and its public events
@spec build_actor_feed(Actor.t(), list(), boolean()) :: String.t()
defp build_actor_feed(%Actor{} = actor, events, public \\ true) do
display_name = Actor.display_name(actor)
@@ -159,7 +159,7 @@ defmodule Mobilizon.Service.Export.Feed do
|> Enum.map(&Events.get_event_with_preload!/1)
end
# Build an atom feed from actor and it's public events
# Build an atom feed from actor and its public events
@spec build_user_feed(list(), User.t(), String.t()) :: String.t()
defp build_user_feed(events, %User{email: email}, token) do
self_url = Endpoint |> Routes.feed_url(:going, token, "atom") |> URI.decode()