Don't leak reblogs of local-only toots

This commit is contained in:
Thibaut Girka 2018-05-22 11:32:21 +02:00
parent 92109c2cbe
commit e9a8bb3d30

View file

@ -494,6 +494,7 @@ class Status < ApplicationRecord
if account.domain.nil? && !attribute_changed?(:local_only)
self.local_only = marked_local_only?
end
self.local_only = reblog.local_only if reblog?
end
def set_conversation