1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-26 11:25:05 +02:00

feat: 条件に一致したURLプレビューのサムネイルを隠すことができるように (#17635)

* URLプレビューのサムネイルを隠す機能を追加 (MisskeyIO#214)

* Update Changelog

* fix

* Update Changelog

* fix

* fix: もうセンシティブと判定されている場合はそれをそのまま通すように

* fix: unnecessary import

* fix lint

---------

Co-authored-by: CyberRex <hspwinx86@gmail.com>
This commit is contained in:
かっこかり
2026-07-04 16:26:22 +09:00
committed by GitHub
parent 0f056c4955
commit f59bf35615
10 changed files with 69 additions and 0 deletions

View File

@@ -672,6 +672,11 @@ export class MiMeta {
})
public urlPreviewUserAgent: string | null;
@Column('varchar', {
length: 3072, array: true, default: '{}',
})
public urlPreviewSensitiveList: string[];
@Column('varchar', {
length: 128,
default: 'none',