logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

stream_entry_renderer.rb (198B)


  1. # frozen_string_literal: true
  2. module StreamEntryRenderer
  3. def stream_entry_to_xml(stream_entry)
  4. OStatus::AtomSerializer.render(OStatus::AtomSerializer.new.entry(stream_entry, true))
  5. end
  6. end