diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-26 21:45:15 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-26 21:45:15 +0200 |
commit | 87b3100773f20ab87198329c2a2284ca76235ca6 (patch) | |
tree | 0f51d3cf63cd96859e7377fd0a23c26a86ff4fcf | |
parent | dda3bcd3bd228da1fb18ac1786b690270bf391f0 (diff) |
Remove m.hidden param from set read markers
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | src/plugins/Matrix.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
@@ -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<rapidjson::StringBuffer> writer(buffer); |