From 87b3100773f20ab87198329c2a2284ca76235ca6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 26 Jul 2021 21:45:15 +0200 Subject: Remove m.hidden param from set read markers --- TODO | 3 ++- src/plugins/Matrix.cpp | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 596af39..8b915d8 100644 --- a/TODO +++ b/TODO @@ -181,4 +181,5 @@ Check if message edits that are replies to me makes a now notification show up. Check if user has invite privileges and show error before bringing up invite gui when using /invite. If only users in the same homeserver can join a room then filter out other users in room invite gui. Exclude users that are already in the room from room invite gui. -Sort users in matrix users list (efficiently and only once!). \ No newline at end of file +Sort users in matrix users list (efficiently and only once!). +Optimize matrix insert position for room sorting (and user sorting). \ No newline at end of file diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 19454df..6e95831 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -3793,7 +3793,6 @@ namespace QuickMedia { rapidjson::Document request_data(rapidjson::kObjectType); request_data.AddMember("m.fully_read", rapidjson::StringRef(event_id.c_str()), request_data.GetAllocator()); request_data.AddMember("m.read", rapidjson::StringRef(event_id.c_str()), request_data.GetAllocator()); - request_data.AddMember("m.hidden", false, request_data.GetAllocator()); // What is this for? element sends it but its not part of the documentation. Is it for hiding read receipt from other users? in that case, TODO: make it configurable rapidjson::StringBuffer buffer; rapidjson::Writer writer(buffer); -- cgit v1.2.3