メッセージタイムラインを追加
This commit is contained in:
@ -27,6 +27,9 @@ export const meta = {
|
||||
|
||||
untilId: $.type(ID).optional.note({
|
||||
}),
|
||||
|
||||
visibility: $.str.optional.note({
|
||||
}),
|
||||
}
|
||||
};
|
||||
|
||||
@ -52,6 +55,10 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
||||
_id: -1
|
||||
};
|
||||
|
||||
if (ps.visibility) {
|
||||
query.visibility = ps.visibility;
|
||||
}
|
||||
|
||||
if (ps.following) {
|
||||
const followingIds = await getFriendIds(user._id);
|
||||
|
||||
|
Reference in New Issue
Block a user