diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2023-12-19 18:55:45 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2023-12-19 18:55:45 +0100 |
commit | 4877079e79b62ae8e8031ab6e3d4e0742abb8530 (patch) | |
tree | 5d354d1de45586585c28a01550f9cd1365e58a4a /LibMatrix/Helpers/MessageFormatter.cs | |
parent | Cleanup (diff) | |
download | LibMatrix-4877079e79b62ae8e8031ab6e3d4e0742abb8530.tar.xz |
Cleanup
Diffstat (limited to 'LibMatrix/Helpers/MessageFormatter.cs')
-rw-r--r-- | LibMatrix/Helpers/MessageFormatter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 = $"<font color=\"#FF0000\">{error}</font>", + FormattedBody = $"<font color=\"#EE4444\">{error}</font>", Format = "org.matrix.custom.html" }; } public static RoomMessageEventContent FormatException(string error, Exception e) { return new RoomMessageEventContent(body: $"{error}: {e.Message}", messageType: "m.text") { - FormattedBody = $"<font color=\"#FF0000\">{error}: <pre>{e.Message}</pre></font>", + FormattedBody = $"<font color=\"#EE4444\">{error}: <pre>{e.Message}</pre></font>", Format = "org.matrix.custom.html" }; } |