From 88fed1806e56181a9161c20bcd93cd06d52a5533 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 14 Dec 2020 08:18:24 +0100 Subject: Attempt to fix spastic body when using embedded items and loading them in render callback, fix gif play next on 4chan.. test --- src/plugins/Matrix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/Matrix.cpp') diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index a39c247..44dfa3a 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -2623,6 +2623,7 @@ namespace QuickMedia { html_escape_sequences(formatted_body); html_escape_sequences(related_to_body); // TODO: Add keybind to navigate to the reply message, which would also depend on this formatting. + // Note: user id and event id is not url escaped here on purpose, because that messes up riot.im replies for certain user ids... return "" "
" "id + "/" + message->event_id + "?via=" + extract_homeserver_from_room_id(room->id) + "\">In reply to" -- cgit v1.2.3