aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-26 21:45:15 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-26 21:45:15 +0200
commit87b3100773f20ab87198329c2a2284ca76235ca6 (patch)
tree0f51d3cf63cd96859e7377fd0a23c26a86ff4fcf /src
parentdda3bcd3bd228da1fb18ac1786b690270bf391f0 (diff)
Remove m.hidden param from set read markers
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Matrix.cpp1
1 files changed, 0 insertions, 1 deletions
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);