1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-08 05:54:57 +02:00

Compare commits

..

3 Commits
4.3.0 ... 4.3.1

Author SHA1 Message Date
syuilo
127c126ef5 4.3.1 2018-06-19 08:03:39 +09:00
syuilo
01ff8d171a Fix bug 2018-06-19 08:03:00 +09:00
syuilo
b07911ec68 Fix 2018-06-19 07:56:26 +09:00
3 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "4.3.0",
"version": "4.3.1",
"clientVersion": "1.0.6630",
"codename": "nighthike",
"main": "./built/index.js",

View File

@@ -54,11 +54,11 @@ export default async function renderNote(note: INote, dive = true): Promise<any>
? [`${attributedTo}/followers`].concat(mentions)
: [];
const mentionedUsers = await User.find({
const mentionedUsers = note.mentions ? await User.find({
_id: {
$in: note.mentions
}
});
}) : [];
const hashtagTags = (note.tags || []).map(tag => renderHashtag(tag));
const mentionTags = mentionedUsers.map(u => renderMention(u));

View File

@@ -45,7 +45,6 @@ router.post('/signin', require('./private/signin').default);
router.use(require('./service/github').routes());
router.use(require('./service/twitter').routes());
router.use(require('./bot/interfaces/line').routes());
// Register router
app.use(router.routes());