2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Make rubocop happy.

This commit is contained in:
Guo Xiang Tan 2018-03-12 09:48:41 +08:00
parent ed08bc82f1
commit 74ce2220a7

View file

@ -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