Make rubocop happy.
This commit is contained in:
parent
ed08bc82f1
commit
74ce2220a7
|
@ -435,7 +435,7 @@ class UserNotifications < ActionMailer::Base
|
|||
|
||||
if post.topic.private_message?
|
||||
subject_pm =
|
||||
if opts[:show_group_in_subject] and group = post.topic.allowed_groups&.first
|
||||
if opts[:show_group_in_subject] && group = post.topic.allowed_groups&.first
|
||||
if group.full_name
|
||||
"[#{group.full_name}] "
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue