From 7ce2d209515f19e63143ef969eee75bda23946ba Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 24 Jan 2019 17:22:17 +0530 Subject: [PATCH] fix the build --- lib/topic_creator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/topic_creator.rb b/lib/topic_creator.rb index 97bb4ef8f12..49831cddcd2 100644 --- a/lib/topic_creator.rb +++ b/lib/topic_creator.rb @@ -261,7 +261,7 @@ class TopicCreator def check_can_send_permission!(topic, obj) unless @opts[:skip_validations] || - @guardian.can_send_private_message?(obj, notify_moderators: topic&.subtype == TopicSubtype.notify_moderators)) + @guardian.can_send_private_message?(obj, notify_moderators: topic&.subtype == TopicSubtype.notify_moderators) rollback_with!(topic, :cant_send_pm) end end