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
12 changed files with 11 additions and 157 deletions

View File

@@ -36,14 +36,12 @@ export const getFriends = async (me: mongodb.ObjectID, includeMe = true, remoteO
// ID list of other users who the I follows
const myfollowings = followings.map(following => ({
id: following.followeeId,
stalk: following.stalk
id: following.followeeId
}));
if (includeMe) {
myfollowings.push({
id: me,
stalk: true
id: me
});
}