Drop stalk feature

Resolve #3935
Closes #2226
Closes #1946
This commit is contained in:
syuilo 2019-01-20 12:25:00 +09:00
parent d53d059480
commit 6909add1ec
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
12 changed files with 11 additions and 157 deletions

View file

@ -540,12 +540,9 @@ async function publishToFollowers(note: INote, user: IUser, noteActivity: any) {
const follower = following._follower;
if (isLocalUser(follower)) {
// ストーキングしていない場合
if (!following.stalk) {
// この投稿が返信ならスキップ
if (note.replyId && !note._reply.userId.equals(following.followerId) && !note._reply.userId.equals(note.userId))
continue;
}
// この投稿が返信ならスキップ
if (note.replyId && !note._reply.userId.equals(following.followerId) && !note._reply.userId.equals(note.userId))
continue;
// Publish event to followers stream
publishHomeTimelineStream(following.followerId, detailPackedNote);