mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 17:11:17 -08:00
fix empty messages
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fix empty messages being displayed as broken messages.
|
||||
@@ -200,8 +200,6 @@ export function MText({
|
||||
return true;
|
||||
}, [unwrappedPerMessageProfileMessage, cleanedMessage, trimmedBody, customBody]);
|
||||
|
||||
if (!body && !customBody) return <BrokenContent body={customBody ?? body} />;
|
||||
|
||||
const { urls, bundleContent } = getUrlsFromContent(content, renderUrlsPreview);
|
||||
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user