diff options
author | ThibG <thib@sitedethib.com> | 2019-03-11 13:23:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 13:23:54 +0100 |
commit | 45e4c90a23ccd6ccbed389d5c1b62f830d2c3757 (patch) | |
tree | 6fbb79dda2e8a75c8b88bccd08078f346e8392ca /app/serializers/rest | |
parent | f534f4869ecb52cb48f3e68e42752d8f81d7a710 (diff) | |
parent | 9c620fc5c80ff0f2aa600069dfdf868e150b0799 (diff) |
Merge pull request #953 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/serializers/rest')
-rw-r--r-- | app/serializers/rest/notification_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/notification_serializer.rb b/app/serializers/rest/notification_serializer.rb index 541a6b8b5..80812ad0d 100644 --- a/app/serializers/rest/notification_serializer.rb +++ b/app/serializers/rest/notification_serializer.rb @@ -11,6 +11,6 @@ class REST::NotificationSerializer < ActiveModel::Serializer end def status_type? - [:favourite, :reblog, :mention].include?(object.type) + [:favourite, :reblog, :mention, :poll].include?(object.type) end end |