diff --git a/lib/userlist/push/event.rb b/lib/userlist/push/event.rb index 6e411f0..0a4f091 100644 --- a/lib/userlist/push/event.rb +++ b/lib/userlist/push/event.rb @@ -19,7 +19,7 @@ def occured_at end def push? - (user.nil? || user.push?) && (company.nil? || company.push?) + super && (user.nil? || user.push?) && (company.nil? || company.push?) end end end diff --git a/lib/userlist/push/relationship.rb b/lib/userlist/push/relationship.rb index 401f312..4408fbc 100644 --- a/lib/userlist/push/relationship.rb +++ b/lib/userlist/push/relationship.rb @@ -23,7 +23,7 @@ def url end def push? - user&.push? && company&.push? + super && user&.push? && company&.push? end end end