メッセージタイムラインを追加
This commit is contained in:
parent
2fad6e6d5f
commit
ab83e08bc7
11 changed files with 393 additions and 150 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue