Adjust text in mobile notification title (#3168)
This commit is contained in:
parent
85e3be1f48
commit
f262bda14b
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ module Notifications
|
|||
json_data: json_data,
|
||||
)
|
||||
# Be careful with this basic first implementation of push notification. Has dependency of Pusher/iPhone sort of tough to test reliably.
|
||||
send_push_notifications(user_id, "@#{comment.user.username} re: #{comment.parent_or_root_article.title}", comment.title, "/notifications/comments") if User.find_by(id: user_id)&.mobile_comment_notifications
|
||||
send_push_notifications(user_id, "@#{comment.user.username}\nre: #{comment.parent_or_root_article.title.strip}", comment.title, "/notifications/comments") if User.find_by(id: user_id)&.mobile_comment_notifications
|
||||
end
|
||||
return unless comment.commentable.organization_id
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue