mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 04:43:24 +00:00
Do display top-level content on remote shared notices
This commit is contained in:
parent
082e1cbe5a
commit
7cd3de3494
|
@ -139,7 +139,7 @@ module AtomBuilderHelper
|
||||||
if activity.is_a?(Status)
|
if activity.is_a?(Status)
|
||||||
if activity.reblog? && activity.reblog.local?
|
if activity.reblog? && activity.reblog.local?
|
||||||
linkify(activity.reblog)
|
linkify(activity.reblog)
|
||||||
elsif activity.local?
|
elsif !activity.reblog? && activity.local?
|
||||||
linkify(activity)
|
linkify(activity)
|
||||||
else
|
else
|
||||||
activity.content
|
activity.content
|
||||||
|
|
|
@ -75,7 +75,7 @@ class Status < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
m
|
m.uniq
|
||||||
end
|
end
|
||||||
|
|
||||||
def ancestors
|
def ancestors
|
||||||
|
|
Loading…
Reference in a new issue