From a265ab6b9094faa542f3fecf8fd96960ca530d9e Mon Sep 17 00:00:00 2001 From: Andy Zhao Date: Mon, 24 Jun 2019 08:33:35 -0400 Subject: [PATCH] Return original body instead of nil for new comment push notifications (#3273) --- app/services/notifications/new_comment/send.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/notifications/new_comment/send.rb b/app/services/notifications/new_comment/send.rb index bdf11c287..6c8623273 100644 --- a/app/services/notifications/new_comment/send.rb +++ b/app/services/notifications/new_comment/send.rb @@ -60,7 +60,7 @@ module Notifications alert: { title: title, subtitle: subtitle, - body: CGI.unescapeHTML(body.strip!) + body: CGI.unescapeHTML(body.strip) } }, data: {