1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 07:06:18 +09:00

Do display top-level content on remote shared notices

This commit is contained in:
Eugen Rochko 2016-03-24 12:34:32 +01:00
parent 082e1cbe5a
commit 7cd3de3494
2 changed files with 2 additions and 2 deletions

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

View File

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