Merge branch 'improve/gitignore' into 'develop'
[akkoma] / lib / pleroma / conversation.ex
index e6a4ccc85c4989fa22117e831dd5a6860118d2e3..6e26c5fd4b8bf3e5dda2d1b0918ef9087cf0da58 100644 (file)
@@ -63,10 +63,13 @@ defmodule Pleroma.Conversation do
           participation
         end)
 
-      %{
-        conversation
-        | participations: participations
-      }
+      {:ok,
+       %{
+         conversation
+         | participations: participations
+       }}
+    else
+      e -> {:error, e}
     end
   end
 end