projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't show content if empty or zero width space
[akkoma]
/
lib
/
pleroma
/
activity.ex
diff --git
a/lib/pleroma/activity.ex
b/lib/pleroma/activity.ex
index 353f9f6cd7722d915369218576540e77c2efc89e..8fd0311d2c25a78fd1259c58e17acbbff64c90bc 100644
(file)
--- a/
lib/pleroma/activity.ex
+++ b/
lib/pleroma/activity.ex
@@
-36,6
+36,10
@@
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