Add API endpoint to remove a conversation
This commit is contained in:
parent
8910303f71
commit
cf6d3db58f
8 changed files with 76 additions and 9 deletions
|
|
@ -220,4 +220,8 @@ defmodule Pleroma.Conversation.Participation do
|
|||
select: %{count: count(p.id)}
|
||||
)
|
||||
end
|
||||
|
||||
def delete(%__MODULE__{} = participation) do
|
||||
Repo.delete(participation)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue