Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/pages/chat/send_file_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ class SendFileDialogState extends State<SendFileDialog> {
Future<void> _send() async {
final scaffoldMessenger = ScaffoldMessenger.of(widget.outerContext);
final l10n = L10n.of(context);
final convertLinebreaks = Matrix.of(
context,
).client.convertLinebreaksInFormatting;

try {
setState(() {
Expand Down Expand Up @@ -162,7 +159,6 @@ class SendFileDialogState extends State<SendFileDialog> {
getEmotePacks: () =>
widget.room.getImagePacksFlat(ImagePackUsage.emoticon),
getMention: widget.room.getMention,
convertLinebreaks: convertLinebreaks,
);

// if the decoded html is the same as the body, there is no need in sending a formatted message
Expand Down
1 change: 0 additions & 1 deletion lib/utils/client_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ abstract class ClientManager {
shareKeysWith:
.values.singleWhereOrNull((share) => share.name == shareKeysWith) ??
.crossVerifiedIfEnabled,
convertLinebreaksInFormatting: false,
onSoftLogout: enableSoftLogout
? (client) => client.refreshAccessToken()
: null,
Expand Down