From 7b91566f303b4afd2deeb6c893ee805e4d62fdaf Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 16 Dec 2023 16:07:13 +0100 Subject: Matrix: keep chat message when pressing esc or going back to previous page. Press ctrl+d to remove text instead (in input mode) --- plugins/Matrix.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/Matrix.hpp') diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 68081d8..de66481 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -238,6 +238,7 @@ namespace QuickMedia { int notification_power_level = 50; size_t index = 0; std::atomic gpg_decrypt_message_id = 0; + std::string chat_message; private: std::mutex user_mutex; std::recursive_mutex room_mutex; -- cgit v1.2.3