Browse Source

Do display top-level content on remote shared notices

master
Eugen Rochko 8 years ago
parent
commit
7cd3de3494
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/helpers/atom_builder_helper.rb
  2. +1
    -1
      app/models/status.rb

+ 1
- 1
app/helpers/atom_builder_helper.rb View File

@ -139,7 +139,7 @@ module AtomBuilderHelper
if activity.is_a?(Status)
if activity.reblog? && activity.reblog.local?
linkify(activity.reblog)
elsif activity.local?
elsif !activity.reblog? && activity.local?
linkify(activity)
else
activity.content

+ 1
- 1
app/models/status.rb View File

@ -75,7 +75,7 @@ class Status < ActiveRecord::Base
end
end
m
m.uniq
end
def ancestors

Loading…
Cancel
Save