Browse Source

Do not unfollow muted users

tags/v1.1.4
Ekaterina Vaartis 5 years ago
parent
commit
092b1b1453
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      lib/pleroma/user.ex

+ 0
- 4
lib/pleroma/user.ex View File

@@ -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)


Loading…
Cancel
Save