projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ConversationViewTest: fix test
[akkoma]
/
lib
/
pleroma
/
activity.ex
diff --git
a/lib/pleroma/activity.ex
b/lib/pleroma/activity.ex
index 84aba9572a7fb9bf49971eee41ca54ddcf9bde1b..17af042573f22ccad27cbf29d4d87e7d149f9541 100644
(file)
--- a/
lib/pleroma/activity.ex
+++ b/
lib/pleroma/activity.ex
@@
-343,9
+343,4
@@
defmodule Pleroma.Activity do
actor = user_actor(activity)
activity.id in actor.pinned_activities
end
-
- @spec pinned_by_actor?(Activity.t(), User.t()) :: boolean()
- def pinned_by_actor?(%Activity{id: id}, %User{} = user) do
- id in user.pinned_activities
- end
end