Merge branch 'feature/1455-chat-character-limit' into 'develop'
[akkoma] / lib / pleroma / web / mastodon_api / views / account_view.ex
index ec720e472e20bd368c80cf79fa82922239bf5a50..546cc0ed5daf362076dbdae731f31d1d424cb36e 100644 (file)
@@ -50,8 +50,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
       id: to_string(target.id),
       following: User.following?(user, target),
       followed_by: User.following?(target, user),
-      blocking: User.blocks_ap_id?(user, target),
-      blocked_by: User.blocks_ap_id?(target, user),
+      blocking: User.blocks_user?(user, target),
+      blocked_by: User.blocks_user?(target, user),
       muting: User.mutes?(user, target),
       muting_notifications: User.muted_notifications?(user, target),
       subscribing: User.subscribed_to?(user, target),