Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
d60c3c4ee3 | |||
452514f7fe | |||
58abb0ce8f | |||
000d9cc1ce |
@ -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",
|
||||
|
@ -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) {
|
||||
|
@ -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 アイコンとヘッダー画像をフェッチ
|
||||
|
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user