diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index ed71666058a..534f6924d58 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -777,7 +777,7 @@ class PostsController < ApplicationController result[:target_group_names] = groups.join(",") end - if recipients.blank? || result[:target_usernames].blank? + if (recipients.blank? || result[:target_usernames].blank?) && params[:archetype] == Archetype.private_message Rails.logger.warn("Missing recipients for PM! result: #{result.inspect} | params: #{params.inspect}") end