aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-05 15:46:07 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-05 15:46:07 +0100
commitaa4ff4cc74e7c654df8e399d4aae4cb8aa8fbd33 (patch)
treef9718e6c2dbe009d7a394e070e596ea6f55346ba /src/plugins
parentff207b4c7f160be58a747f0115e74ea136459f2c (diff)
Fix text edit in matrix for non ascii characters
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index e05d85c..e085912 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -1010,7 +1010,7 @@ namespace QuickMedia {
// TODO: Instead of guessing notification limit with 100, accumulate rooms unread_notifications count and use that as the limit
// (and take into account that notification response may have notifications after call to sync above).
char url[512];
- snprintf(url, sizeof(url), "%s/_matrix/client/r0/notifications?limit=100", homeserver.c_str());
+ snprintf(url, sizeof(url), "%s/_matrix/client/r0/notifications?limit=100&only=highlight", homeserver.c_str());
rapidjson::Document json_root;
DownloadResult download_result = download_json(json_root, url, std::move(additional_args), true);