aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 72748cf..a39c247 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -2625,8 +2625,8 @@ namespace QuickMedia {
// TODO: Add keybind to navigate to the reply message, which would also depend on this formatting.
return "<mx-reply>"
"<blockquote>"
- "<a href=\"https://matrix.to/#/" + url_param_encode(room->id) + "/" + url_param_encode(message->event_id) + "?via=" + url_param_encode(extract_homeserver_from_room_id(room->id)) + "\">In reply to</a>"
- "<a href=\"https://matrix.to/#/" + url_param_encode(message->user->user_id) + "\">" + url_param_encode(message->user->user_id) + "</a><br>" + std::move(related_to_body) +
+ "<a href=\"https://matrix.to/#/" + room->id + "/" + message->event_id + "?via=" + extract_homeserver_from_room_id(room->id) + "\">In reply to</a>"
+ "<a href=\"https://matrix.to/#/" + message->user->user_id + "\"> " + message->user->user_id + "</a><br>" + std::move(related_to_body) +
"</blockquote>"
"</mx-reply>" + std::move(formatted_body);
}