From f6a96617c7d92569b41e10bf6aef84df7886b3c2 Mon Sep 17 00:00:00 2001 From: Philip Fritzsche Date: Mon, 2 Mar 2026 16:10:33 +0100 Subject: [PATCH] fix: Fix formatting of messages with newlines Newlines were previously not formatted correctly in HTML/markdown messages. Formatting is of newlines is implemented in the matrix-dart-sdk, but was explicitly disabled when creating the matrix Client object. This fixes formatting by removing the parameter from the client config, causing the client to follow the expected, default behavior. This only affects outgoing new messages, both old wrongly formatted messages and new messages are rendered correctly in FluffyChat. New messages are now also correctly formatted in other clients. --- lib/utils/client_manager.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/utils/client_manager.dart b/lib/utils/client_manager.dart index 817727e94..856a907ab 100644 --- a/lib/utils/client_manager.dart +++ b/lib/utils/client_manager.dart @@ -138,7 +138,6 @@ abstract class ClientManager { (share) => share.name == shareKeysWith, ) ?? ShareKeysWith.all, - convertLinebreaksInFormatting: false, onSoftLogout: enableSoftLogout ? (client) => client.refreshAccessToken() : null,