Merge branch 'chore/spelling' into 'develop'
[akkoma] / lib / pleroma / web / mastodon_api / views / notification_view.ex
index 78d187f9a8e15646d42837680aca03ababf6733f..734ffbf39fd909a1837b93d489088fb2087c8dd1 100644 (file)
@@ -36,7 +36,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationView do
         Map.has_key?(opts, :relationships) ->
           opts[:relationships]
 
-        is_nil(opts[:for]) ->
+        is_nil(reading_user) ->
           UserRelationship.view_relationships_option(nil, [])
 
         true ->