aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/activity.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-01-15 21:17:56 +0300
committerrinpatch <rinpatch@sdf.org>2019-01-15 21:17:56 +0300
commit410fd9d774fb3437a38adfe405ff45d4950b51a9 (patch)
tree0b877febba39eea7d271c68f3b1c2563f011cdda /lib/pleroma/activity.ex
parentff6c9a5c961647b64c3c9fcc05932093595e9588 (diff)
downloadpleroma-410fd9d774fb3437a38adfe405ff45d4950b51a9.tar.gz
Attach attachments
Diffstat (limited to 'lib/pleroma/activity.ex')
-rw-r--r--lib/pleroma/activity.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/activity.ex b/lib/pleroma/activity.ex
index 47562306d..8fd0311d2 100644
--- a/lib/pleroma/activity.ex
+++ b/lib/pleroma/activity.ex
@@ -35,10 +35,11 @@ defmodule Pleroma.Activity do
)
)
end
-
+
def get_by_id(id) do
Repo.get(Activity, id)
end
+
# TODO:
# Go through these and fix them everywhere.
# Wrong name, only returns create activities