aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/search.cpp')
-rw-r--r--lib/csapi/search.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/csapi/search.cpp b/lib/csapi/search.cpp
index f3adb315..b2e58931 100644
--- a/lib/csapi/search.cpp
+++ b/lib/csapi/search.cpp
@@ -137,6 +137,8 @@ namespace QMatrixClient
SearchJob::ResultRoomEvents result;
result.count =
fromJson<qint64>(_json.value("count"_ls));
+ result.highlights =
+ fromJson<QStringList>(_json.value("highlights"_ls));
result.results =
fromJson<std::vector<SearchJob::Result>>(_json.value("results"_ls));
result.state =