Merge branch 'develop' into feature/fast_sanitize
[akkoma] / lib / pleroma / web / pleroma_api / controllers / pleroma_api_controller.ex
index fc39abf053ee658b90b846e708bebf080636e79e..651a9942382355871610cc687cb7dec48ab20199 100644 (file)
@@ -80,7 +80,7 @@ defmodule Pleroma.Web.PleromaAPI.PleromaAPIController do
   end
 
   def read_conversations(%{assigns: %{user: user}} = conn, _params) do
-    with {:ok, participations} <- Participation.mark_all_as_read(user) do
+    with {:ok, _, participations} <- Participation.mark_all_as_read(user) do
       conn
       |> add_link_headers(participations)
       |> put_view(ConversationView)