]> cat aescling's git repositories - mastodon.git/commitdiff
Fix reblogs not having content warnings forwarded
authorEugen <eugen@zeonfederated.com>
Wed, 8 Feb 2017 17:05:46 +0000 (18:05 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2017 17:05:46 +0000 (18:05 +0100)
app/helpers/atom_builder_helper.rb

index c08d80ea0ed3dc224b574dac1ac4cb51cf7e7dc4..fb8f0976c32a67ca9e9d224a415a96a2d067354e 100644 (file)
@@ -192,7 +192,7 @@ module AtomBuilderHelper
 
         # Statuses have content and author
         if stream_entry.target.is_a?(Status)
-          content      xml, conditionally_formatted(stream_entry.target)
+          rich_content xml, stream_entry.target
           verb         xml, stream_entry.target.verb
           published_at xml, stream_entry.target.created_at
           updated_at   xml, stream_entry.target.updated_at