summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/MetaService.ts
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-09-24 18:29:02 +0900
committerGitHub <noreply@github.com>2024-09-24 18:29:02 +0900
commit6a1a2bef43af929f6def408428bd734ea2bff5c6 (patch)
tree65e843100f1d004c9f7986fd38319924f4cb6a65 /packages/backend/src/core/MetaService.ts
parent:art: (diff)
downloadsharkey-6a1a2bef43af929f6def408428bd734ea2bff5c6.tar.gz
sharkey-6a1a2bef43af929f6def408428bd734ea2bff5c6.tar.bz2
sharkey-6a1a2bef43af929f6def408428bd734ea2bff5c6.zip
fix(backend): RBTの修正 (#14621)
* fix(backend): 絵文字の変換処理が不十分なのを修正 * enhance: リアクションバッファリングが無効になったら即bakeするように * attempt to fix test * fix
Diffstat (limited to 'packages/backend/src/core/MetaService.ts')
-rw-r--r--packages/backend/src/core/MetaService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/core/MetaService.ts b/packages/backend/src/core/MetaService.ts
index ec630f804e..3d88d0aefe 100644
--- a/packages/backend/src/core/MetaService.ts
+++ b/packages/backend/src/core/MetaService.ts
@@ -52,7 +52,7 @@ export class MetaService implements OnApplicationShutdown {
switch (type) {
case 'metaUpdated': {
this.cache = { // TODO: このあたりのデシリアライズ処理は各modelファイル内に関数としてexportしたい
- ...body,
+ ...(body.after),
proxyAccount: null, // joinなカラムは通常取ってこないので
};
break;
@@ -141,7 +141,7 @@ export class MetaService implements OnApplicationShutdown {
});
}
- this.globalEventService.publishInternalEvent('metaUpdated', updated);
+ this.globalEventService.publishInternalEvent('metaUpdated', { before, after: updated });
return updated;
}