Move checking for restrict_local to User.get_cached_by_id_or_nickname
authorrinpatch <rinpatch@sdf.org>
Thu, 5 Sep 2019 12:33:49 +0000 (15:33 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 5 Sep 2019 12:39:10 +0000 (15:39 +0300)
commit26fe6f70c9cd6a37e72f4795a1a9a316ef5d95fb
tree7c59f864ea3a4402d91b3810a7c0764f17d8aceb
parentcc1d1ee4069c47d2e5e91347438b2a6c7bff86cf
Move checking for restrict_local to User.get_cached_by_id_or_nickname
lib/pleroma/user.ex
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex