Commit 092b1b14 authored by vaartis's avatar vaartis

Do not unfollow muted users

parent ad2cf4fd
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment