about summary refs log tree commit diff
path: root/app/models/notification.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-28 15:12:33 +0100
committerGitHub <noreply@github.com>2019-03-28 15:12:33 +0100
commitbb316faffff7a76bc89f7e942233f0e14caf60f5 (patch)
tree260458c7ff43dd82fc02cc7e5ef0920dd8d2a25b /app/models/notification.rb
parent0418bdd71f59b4d7e9f3498f2990c8b044f310e1 (diff)
parent050efbc12650feaac3e833c4dd740bf090e3dae1 (diff)
Merge pull request #970 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models/notification.rb')
-rw-r--r--app/models/notification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/notification.rb b/app/models/notification.rb
index 982136c05..300269e24 100644
--- a/app/models/notification.rb
+++ b/app/models/notification.rb
@@ -25,7 +25,7 @@ class Notification < ApplicationRecord
     poll:           'Poll',
   }.freeze
 
-  STATUS_INCLUDES = [:account, :application, :media_attachments, :tags, active_mentions: :account, reblog: [:account, :application, :media_attachments, :tags, active_mentions: :account]].freeze
+  STATUS_INCLUDES = [:account, :application, :preloadable_poll, :media_attachments, :tags, active_mentions: :account, reblog: [:account, :application, :preloadable_poll, :media_attachments, :tags, active_mentions: :account]].freeze
 
   belongs_to :account, optional: true
   belongs_to :from_account, class_name: 'Account', optional: true