Do not send needless emojis in note

投稿作成時に含まれている絵文字を保存しておくように

SEE: https://github.com/syuilo/misskey/pull/3085#issuecomment-435608434
This commit is contained in:
syuilo
2018-11-04 03:32:20 +09:00
parent dfce5bc0af
commit 84db15694d
3 changed files with 34 additions and 15 deletions

View File

@@ -16,14 +16,3 @@ export type IEmoji = {
aliases?: string[];
updatedAt?: Date;
};
export const packEmojis = async (
host: string,
// MeiTODO: filter
) => {
return await Emoji.find({ host }, {
fields: {
_id: false
}
});
};