Commit 59b42531 authored by lambda's avatar lambda

Merge branch 'bugfix/duplicate-follow-requests' into 'develop'

user: filter out duplicate follow requests

Closes #228

See merge request pleroma/pleroma!263
parents c957cd98 275c42e4
......@@ -398,6 +398,7 @@ defmodule Pleroma.User do, fn req -> end)
|> Enum.uniq()
|> ap_id -> get_by_ap_id(ap_id) end)
|> Enum.filter(fn u -> !following?(u, user) end)
{:ok, users}
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