fix: クエリキャッシュ無効化時の絵文字操作エラーを解消 (#10320)
* disabledCache: trueのときにqueryResultCacheへアクセスしないように * append changelog
This commit is contained in:
parent
850addc619
commit
3cb669a852
10 changed files with 10 additions and 9 deletions
|
@ -58,7 +58,7 @@ export class CustomEmojiService {
|
|||
}).then(x => this.emojisRepository.findOneByOrFail(x.identifiers[0]));
|
||||
|
||||
if (data.host == null) {
|
||||
await this.db.queryResultCache!.remove(['meta_emojis']);
|
||||
await this.db.queryResultCache?.remove(['meta_emojis']);
|
||||
|
||||
this.globalEventService.publishBroadcastStream('emojiAdded', {
|
||||
emoji: await this.emojiEntityService.packDetailed(emoji.id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue