Skip to content

Commit 0e9bb70

Browse files
committed
correct opt-out showing application
refs mastodon#9994
1 parent addc839 commit 0e9bb70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/serializers/rest/status_serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def current_user?
3939
end
4040

4141
def show_application?
42-
object.account.user_shows_application? || (current_user? && current_user.account_id == object.account_id)
42+
object.account.user&.setting_show_application || (current_user? && current_user.account_id == object.account_id)
4343
end
4444

4545
def visibility

0 commit comments

Comments
 (0)