Email-in topics not under approvals control

Turns out that you have it in there afterall. This is what’s throwing it off:

You are exempting staff and staged users from the approval process:

However, you’ve forgotten that there are different types of staged users creating topics. You want to exempt the ones that are sending in private messages (i.e. posting to group), but NOT when they are sending in topics (i.e. posting to category).

I think the line should be changed to:

def self.exempt_user?(user, options)
  user.staff? || (user.staged && options[:archetype] == Archetype.private_message)
end
9 إعجابات