mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
Fix empty CW when a content-less toot with a CW is encountered twice (#16220)
This commit is contained in:
parent
4f747d9f83
commit
70f6f2e9b7
|
@ -60,6 +60,7 @@ export function normalizeStatus(status, normalOldStatus) {
|
|||
normalStatus.search_index = normalOldStatus.get('search_index');
|
||||
normalStatus.contentHtml = normalOldStatus.get('contentHtml');
|
||||
normalStatus.spoilerHtml = normalOldStatus.get('spoilerHtml');
|
||||
normalStatus.spoiler_text = normalOldStatus.get('spoiler_text');
|
||||
normalStatus.hidden = normalOldStatus.get('hidden');
|
||||
} else {
|
||||
// If the status has a CW but no contents, treat the CW as if it were the
|
||||
|
|
Loading…
Reference in a new issue