Fix #5178: Add received bans to user includes.

This commit is contained in:
evazion
2022-05-20 23:03:22 -05:00
parent 9867514a78
commit 1bcf93b816

View File

@@ -687,7 +687,7 @@ class User < ApplicationRecord
end
def self.available_includes
[:inviter]
[:inviter, :bans]
end
memoize :name_errors