CommonAPI: Extend api with conversation replies.

This commit is contained in:
lain 2019-08-02 15:05:27 +02:00
commit 56b1c3af13
4 changed files with 70 additions and 13 deletions

View file

@ -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