소스 검색

Merge branch 'fix/follow-requests-deleted-accounts' into 'develop'

user: check that the follow request actually has an active account associated with it

See merge request pleroma/pleroma!623
tags/v0.9.9
kaniini 5 년 전
부모
커밋
eaaf701319
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      lib/pleroma/user.ex

+ 1
- 0
lib/pleroma/user.ex 파일 보기

@@ -495,6 +495,7 @@ defmodule Pleroma.User do
Enum.map(reqs, fn req -> req.actor end)
|> Enum.uniq()
|> Enum.map(fn ap_id -> get_by_ap_id(ap_id) end)
|> Enum.filter(fn u -> !is_nil(u) end)
|> Enum.filter(fn u -> !following?(u, user) end)

{:ok, users}


불러오는 중...
취소
저장