Index: app/views/common/feed.atom.rxml
===================================================================
--- app/views/common/feed.atom.rxml	(Revision 2761)
+++ app/views/common/feed.atom.rxml	(Arbeitskopie)
@@ -21,7 +21,7 @@
       author = item.event_author if item.respond_to?(:event_author)
       xml.author do
         xml.name(author)
-        xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?
+        xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank? && !author.pref.hide_mail
       end if author
       xml.content "type" => "html" do
         xml.text! textilizable(item.event_description, :only_path => false)
Index: app/views/issues/changes.rxml
===================================================================
--- app/views/issues/changes.rxml	(Revision 2761)
+++ app/views/issues/changes.rxml	(Arbeitskopie)
@@ -15,7 +15,7 @@
       xml.updated change.created_on.xmlschema
       xml.author do
         xml.name change.user.name
-        xml.email(change.user.mail)
+        xml.email(change.user.mail) if !change.user.pref.hide_mail
       end
       xml.content "type" => "html" do
         xml.text! '<ul>'

