aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/activity.ex
diff options
context:
space:
mode:
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