mirror of
https://github.com/misskey-dev/summerflare.git
synced 2025-04-29 02:37:17 +09:00
fix: restore title when it is the same as its sitename
This commit is contained in:
parent
55f39f6926
commit
4801fa8829
@ -28,6 +28,9 @@ function postProcess(summary: Summary | null) {
|
||||
}
|
||||
if (summary.sitename !== null) {
|
||||
summary.title = cleanupTitle(summary.title, summary.sitename)
|
||||
if (!summary.title) {
|
||||
summary.title = summary.sitename
|
||||
}
|
||||
}
|
||||
summary.title = clip(summary.title, 100)
|
||||
summary.description = summary.description && clip(summary.description, 300)
|
||||
|
Loading…
x
Reference in New Issue
Block a user