CommonAPI: Extend api with conversation replies.
This commit is contained in:
parent
f88560accd
commit
56b1c3af13
4 changed files with 70 additions and 13 deletions
|
|
@ -93,4 +93,10 @@ defmodule Pleroma.Conversation.Participation do
|
|||
end)
|
||||
|> Enum.filter(& &1.last_activity_id)
|
||||
end
|
||||
|
||||
def get(nil), do: nil
|
||||
|
||||
def get(id) do
|
||||
Repo.get(__MODULE__, id)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue