about summary refs log tree commit diff
path: root/app/services/notify_service.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-09-02 01:15:02 -0500
committerStarfall <us@starfall.systems>2020-09-02 01:15:02 -0500
commitfd0b806603dbd632d259d06af789c7195c7264dc (patch)
treea9ba1b09763ca15a96f927e361bb878b9833bc7d /app/services/notify_service.rb
parenta43c1d3f56c128c992f34b8e2b968de14e02ac48 (diff)
parentd967251fdc3826ad27d30e55258cfa4cdfd7c871 (diff)
Merge branch 'glitch' into main
Diffstat (limited to 'app/services/notify_service.rb')
-rw-r--r--app/services/notify_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/notify_service.rb b/app/services/notify_service.rb
index 9364a6ae8..abd676494 100644
--- a/app/services/notify_service.rb
+++ b/app/services/notify_service.rb
@@ -13,7 +13,9 @@ class NotifyService < BaseService
     push_to_conversation! if direct_message?
     send_email! if email_enabled?
   rescue ActiveRecord::RecordInvalid
+    # rubocop:disable Style/RedundantReturn
     return
+    # rubocop:enable Style/RedundantReturn
   end
 
   private