Skip to content
Snippets Groups Projects
Commit 7cd3de34 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Do display top-level content on remote shared notices

parent 082e1cbe
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ module AtomBuilderHelper ...@@ -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 ...@@ -75,7 +75,7 @@ class Status < ActiveRecord::Base
end end
end end
m m.uniq
end end
def ancestors def ancestors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment