about summary refs log tree commit diff
path: root/app/serializers/rest/notification_serializer.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-12 14:33:01 +0100
committerGitHub <noreply@github.com>2022-02-12 14:33:01 +0100
commitf61137b7ffb97006ab811f8a4bce017b5f07f85d (patch)
treeff70b757d86a44665d16c8021cb81f8e04f396a7 /app/serializers/rest/notification_serializer.rb
parent28ec7def5869ff1a85f49a070b9575c166a432ee (diff)
parentf4db2e1832e40cbdfd81feda24fcf87c96f6dbd5 (diff)
Merge pull request #1688 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/serializers/rest/notification_serializer.rb')
-rw-r--r--app/serializers/rest/notification_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/notification_serializer.rb b/app/serializers/rest/notification_serializer.rb
index 27b031fcc..69b81f6de 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, :status, :mention, :poll].include?(object.type)
+    [:favourite, :reblog, :status, :mention, :poll, :update].include?(object.type)
   end
 end