From 484571d6f5bc71626f320b4dc06b43331d7f1240 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 8 Dec 2020 05:40:44 +0100 Subject: Matrix: remove user id escaping in replies (bug) to make replies work in riot.im... --- src/plugins/Matrix.cpp | 4 ++-- 1 file 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 "" "
" - "id) + "/" + url_param_encode(message->event_id) + "?via=" + url_param_encode(extract_homeserver_from_room_id(room->id)) + "\">In reply to" - "user->user_id) + "\">" + url_param_encode(message->user->user_id) + "
" + std::move(related_to_body) + + "id + "/" + message->event_id + "?via=" + extract_homeserver_from_room_id(room->id) + "\">In reply to" + "user->user_id + "\"> " + message->user->user_id + "
" + std::move(related_to_body) + "
" "
" + std::move(formatted_body); } -- cgit v1.2.3