Merge branch 'issue/2069' into 'develop'
[akkoma] / lib / pleroma / web / mastodon_api / views / account_view.ex
index 82fdca5572984456403c76f565dc7a407195bcc0..3158d09ed8dcd11cd10ab82292c74acd814b5ac6 100644 (file)
@@ -388,7 +388,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
     data
     |> Kernel.put_in(
       [:pleroma, :unread_conversation_count],
-      user.unread_conversation_count
+      Pleroma.Conversation.Participation.unread_count(user)
     )
   end