mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 21:56:18 +02:00
フォローインポートで自分をスキップするように (#4614)
* skip myself in import-following * skip owner in publishToFollowers
This commit is contained in:
@@ -568,7 +568,8 @@ async function publishToFollowers(note: INote, user: IUser, noteActivity: any) {
|
||||
});
|
||||
|
||||
const followers = await Following.find({
|
||||
followeeId: note.userId
|
||||
followeeId: note.userId,
|
||||
followerId: { $ne: note.userId } // バグでフォロワーに自分がいることがあるため
|
||||
});
|
||||
|
||||
const queue: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user