From 092b1b145335d530d7343116eb452e37cc112a9e Mon Sep 17 00:00:00 2001 From: Ekaterina Vaartis Date: Tue, 4 Sep 2018 00:17:25 +0300 Subject: [PATCH] Do not unfollow muted users --- lib/pleroma/user.ex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 9a774e7b7..da25a91c8 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -889,10 +889,6 @@ defmodule Pleroma.User do end def mute(muter, %User{ap_id: ap_id} = muted) do - if following?(muter, muter) do - unfollow(muter, muter) - end - mutes = muter.info["mutes"] || [] new_mutes = Enum.uniq([ap_id | mutes]) new_info = Map.put(muter.info, "mutes", new_mutes)