Skip to content
Snippets Groups Projects
Commit 2d7fe9a4 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix build

parent 59276a10
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ gen_xml = custom_target('gen-dbus-xml',
install_dir: 'share/dbus-1/interfaces')
deps = [qt5_dep, zlib_dep, olm_dep, matrix_dep, json_dep, ssl_dep, sailfish_dep, threads_dep, boost_dep, networkstate_dep, keepalive_dep, notifications_dep]
defines = ['-DBOOST_ASIO_DISABLE_EPOLL']
defines = ['-DBOOST_ASIO_DISABLE_EPOLL', '-DJSON_USE_IMPLICIT_CONVERSIONS']
extra_flags = ['-Winvalid-pch']
moc_files = qt5.preprocess(moc_headers :
......
......@@ -158,7 +158,7 @@ void Sync::sync() {
for (const auto& e : r.account_data.events)
{
if (const auto t = std::get_if<mtx::events::Event<mtx::events::account_data::Tag>>(&e)) {
if (const auto t = std::get_if<mtx::events::Event<mtx::events::account_data::Tags>>(&e)) {
qDebug() << "Tag event";
std::vector<std::string> tags;
for (const auto &tag : t->content.tags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment