diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-27 17:04:23 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-16 14:03:23 +0100 |
commit | 939f08a5396b65778748417c26b54c214fe35883 (patch) | |
tree | 15b78ae44beda5105af64e8aaf9fd75af8467cd6 /app/models/info_request.rb | |
parent | bc743d9fc8c8f740f37b91cbe374c6ae20b10619 (diff) |
Only include public messages in who_can_followup_to
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 847a57ef4..e9deb7b05 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -1005,6 +1005,8 @@ public end incoming_message.safe_mail_from + next if ! incoming_message.all_can_view? + email = OutgoingMailer.email_for_followup(self, incoming_message) name = OutgoingMailer.name_for_followup(self, incoming_message) |