Compare commits

...

4 Commits
7.0.0 ... 7.0.2

Author SHA1 Message Date
d60c3c4ee3 7.0.2 2018-08-19 05:26:53 +09:00
452514f7fe Fix bug 2018-08-19 05:26:34 +09:00
58abb0ce8f 7.0.1 2018-08-19 05:15:55 +09:00
000d9cc1ce Fix bug 2018-08-19 05:15:50 +09:00
4 changed files with 7 additions and 4 deletions

View File

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

View File

@ -49,9 +49,6 @@ export default function(html: string): string {
text += txt;
break;
}
// メンション以外
} else {
text += `[${txt}](${node.attrs.find((x: any) => x.name == 'href').value})`;
}
if (node.childNodes) {

View File

@ -11,6 +11,7 @@ import { isCollectionOrOrderedCollection, IObject, IPerson } from '../type';
import { IDriveFile } from '../../../models/drive-file';
import Meta from '../../../models/meta';
import htmlToMFM from '../../../mfm/html-to-mfm';
import { updateUserStats } from '../../../services/update-chart';
const log = debug('misskey:activitypub');
@ -148,6 +149,8 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs
'stats.usersCount': 1
}
}, { upsert: true });
updateUserStats(user, true);
//#endregion
//#region アイコンとヘッダー画像をフェッチ

View File

@ -7,6 +7,7 @@ import generateUserToken from '../common/generate-native-user-token';
import config from '../../../config';
import Meta from '../../../models/meta';
import RegistrationTicket from '../../../models/registration-tickets';
import { updateUserStats } from '../../../services/update-chart';
if (config.recaptcha) {
recaptcha.init({
@ -129,6 +130,8 @@ export default async (ctx: Koa.Context) => {
}, { upsert: true });
//#endregion
updateUserStats(account, true);
// Response
ctx.body = await pack(account);
};