From c319f2114177f011cd0c6c23b04f7c19971268bf Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Tue, 4 Apr 2017 17:27:23 -0500 Subject: Address review comments --- app/models/sent_notification.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/sent_notification.rb') diff --git a/app/models/sent_notification.rb b/app/models/sent_notification.rb index 7d65b2b7993..bfaf0eb2fae 100644 --- a/app/models/sent_notification.rb +++ b/app/models/sent_notification.rb @@ -102,6 +102,8 @@ class SentNotification < ActiveRecord::Base if self.in_reply_to_discussion_id.present? attrs[:in_reply_to_discussion_id] = self.in_reply_to_discussion_id else + # Remove in GitLab 10.0, when we will not support replying to SentNotifications + # that don't have `in_reply_to_discussion_id` anymore. attrs.merge!( type: self.note_type, -- cgit v1.2.3