diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2023-11-03 17:34:23 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-03 17:34:23 +0900 |
| commit | 39a3f4ae98ebe436ed023fab737a823717da5e0b (patch) | |
| tree | cadb9e1bb9d24f16527fe6fb912d6a746cc59748 /packages/backend/src/core | |
| parent | fix(frontend): In deck layout, replies option is not saved after refresh (diff) | |
| download | misskey-39a3f4ae98ebe436ed023fab737a823717da5e0b.tar.gz misskey-39a3f4ae98ebe436ed023fab737a823717da5e0b.tar.bz2 misskey-39a3f4ae98ebe436ed023fab737a823717da5e0b.zip | |
feat: チャンネル内→チャンネル外へのリノート制限機能追加 (#12230)
* チャンネル内→チャンネル外へのリノート制限機能追加
* fix CHANGELOG.md
* コメント対応(canRenoteSwitch→allowRenoteToExternal)
* コメント対応(別チャンネルへのリノート対策)
* コメント対応(canRenote->allowRenoteToExternal)
* fix comment
* Update misskey-js.api.md
* :v:
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/backend/src/core')
| -rw-r--r-- | packages/backend/src/core/entities/ChannelEntityService.ts | 1 | ||||
| -rw-r--r-- | packages/backend/src/core/entities/NoteEntityService.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/backend/src/core/entities/ChannelEntityService.ts b/packages/backend/src/core/entities/ChannelEntityService.ts index 9e66834dfa..305946b8a6 100644 --- a/packages/backend/src/core/entities/ChannelEntityService.ts +++ b/packages/backend/src/core/entities/ChannelEntityService.ts @@ -85,6 +85,7 @@ export class ChannelEntityService { usersCount: channel.usersCount, notesCount: channel.notesCount, isSensitive: channel.isSensitive, + allowRenoteToExternal: channel.allowRenoteToExternal, ...(me ? { isFollowing, diff --git a/packages/backend/src/core/entities/NoteEntityService.ts b/packages/backend/src/core/entities/NoteEntityService.ts index 6fde1c3830..c49dad8e79 100644 --- a/packages/backend/src/core/entities/NoteEntityService.ts +++ b/packages/backend/src/core/entities/NoteEntityService.ts @@ -350,6 +350,7 @@ export class NoteEntityService implements OnModuleInit { name: channel.name, color: channel.color, isSensitive: channel.isSensitive, + allowRenoteToExternal: channel.allowRenoteToExternal, } : undefined, mentions: note.mentions.length > 0 ? note.mentions : undefined, uri: note.uri ?? undefined, |