1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-23 16:33:28 +00:00
mobilizon/lib/federation/activity_pub/activity.ex
Thomas Citharel 75e254d8b4
Actor suspension refactoring
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-26 17:52:23 +02:00

19 lines
327 B
Elixir

defmodule Mobilizon.Federation.ActivityPub.Activity do
@moduledoc """
Represents an activity.
"""
@type t :: %__MODULE__{
data: map(),
local: boolean,
actor: Actor.t(),
recipients: [String.t()]
}
defstruct [
:data,
:local,
:actor,
:recipients
]
end