Skip to content

Commit

Permalink
fix(backend): 이모지를 등록하거나 가져오려고 할 때 오류가 발생할 수 있음 (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 3, 2024
1 parent e7abb27 commit 06faf6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG_CHERRYPICK.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2024xx](CHANGE
- Fix: 이미지 자르기를 할 때 이미지 크기 전체를 표시하지 못할 수 있음
- Fix: 페이지에서 페이지 생성 버튼이 본문에 중복으로 표시됨

### Server
- Fix: 이모지를 등록하거나 가져오려고 할 때 오류가 발생할 수 있음 (kokonect-link/cherrypick#508)

---

## 4.11.1
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/core/CustomEmojiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class CustomEmojiService implements OnApplicationShutdown {
this.localEmojisCache.refresh();

//this.prefetchEmojis([{name: data.name, host: null}]);
this.cache.set(`${data.name} ${data.host}`, emoji);
this.emojisCache.set(`${data.name} ${data.host}`, emoji);

this.globalEventService.publishBroadcastStream('emojiAdded', {
emoji: await this.emojiEntityService.packDetailed(emoji.id),
Expand Down

0 comments on commit 06faf6c

Please sign in to comment.