Merge branch 'test-docker-images' into 'develop'
[akkoma] / lib / pleroma / conversation / participation.ex
index da5e57714d60e6758d515326fa15f32c2537a73e..e0a3af28b9b62fdeaa2b0a31bf2ac663578b3eb0 100644 (file)
@@ -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