Do not unfollow muted users

This commit is contained in:
Ekaterina Vaartis 2018-09-04 00:17:25 +03:00
parent ad2cf4fd86
commit 092b1b1453
1 changed files with 0 additions and 4 deletions

View File

@ -889,10 +889,6 @@ def blocks_import(%User{} = blocker, blocked_identifiers) when is_list(blocked_i
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)