mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 19:33:52 +08:00
Fix the build.
This commit is contained in:
@ -816,11 +816,11 @@ SQL
|
|||||||
Notification.types[:invited_to_topic],
|
Notification.types[:invited_to_topic],
|
||||||
invited_by.username
|
invited_by.username
|
||||||
)
|
)
|
||||||
|
|
||||||
|
true
|
||||||
else
|
else
|
||||||
invite_by_email(invited_by, username_or_email, group_ids, custom_message)
|
invite_by_email(invited_by, username_or_email, group_ids, custom_message)
|
||||||
end
|
end
|
||||||
|
|
||||||
true
|
|
||||||
elsif user && topic_allowed_users.create!(user_id: user.id)
|
elsif user && topic_allowed_users.create!(user_id: user.id)
|
||||||
create_invite_notification!(
|
create_invite_notification!(
|
||||||
Notification.types[:invited_to_topic],
|
Notification.types[:invited_to_topic],
|
||||||
|
Reference in New Issue
Block a user