From 4877079e79b62ae8e8031ab6e3d4e0742abb8530 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Tue, 19 Dec 2023 18:55:45 +0100 Subject: Cleanup --- LibMatrix/Helpers/MessageFormatter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LibMatrix/Helpers/MessageFormatter.cs') diff --git a/LibMatrix/Helpers/MessageFormatter.cs b/LibMatrix/Helpers/MessageFormatter.cs index f275b57..b2dda61 100644 --- a/LibMatrix/Helpers/MessageFormatter.cs +++ b/LibMatrix/Helpers/MessageFormatter.cs @@ -6,14 +6,14 @@ namespace LibMatrix.Helpers; public static class MessageFormatter { public static RoomMessageEventContent FormatError(string error) { return new RoomMessageEventContent(body: error, messageType: "m.text") { - FormattedBody = $"{error}", + FormattedBody = $"{error}", Format = "org.matrix.custom.html" }; } public static RoomMessageEventContent FormatException(string error, Exception e) { return new RoomMessageEventContent(body: $"{error}: {e.Message}", messageType: "m.text") { - FormattedBody = $"{error}:
{e.Message}
", + FormattedBody = $"{error}:
{e.Message}
", Format = "org.matrix.custom.html" }; } -- cgit 1.4.1