Merge remote-tracking branch 'origin/master' into gs-master

Conflicts:
 	app/controllers/home_controller.rb
 	app/controllers/stream_entries_controller.rb
 	app/javascript/mastodon/locales/ja.json
 	app/javascript/mastodon/locales/pl.json
This commit is contained in:
David Yip
2018-04-18 18:48:12 -05:00
124 changed files with 2089 additions and 995 deletions

View File

@ -18,7 +18,7 @@ class StatusPolicy < ApplicationPolicy
end
def reblog?
!direct? && !private? && show?
!direct? && (!private? || owned?) && show?
end
def destroy?