summary refs log tree commit diff
path: root/src/ChatPage.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-05-15 14:56:11 +0200
committerGitHub <noreply@github.com>2020-05-15 14:56:11 +0200
commitce1c6a7df3e966244d4a9819b50ec05875c6b99c (patch)
tree457300f7fc80978c6a01b3e13280873eb8273af5 /src/ChatPage.cpp
parentTranslated using Weblate (German) (diff)
parentremove #if defined __has_include (diff)
downloadnheko-ce1c6a7df3e966244d4a9819b50ec05875c6b99c.tar.xz
Merge pull request #198 from Chethan2k1/device-verification-dialogs
Fix nheko build(uses mtxclient device-verification)
Diffstat (limited to 'src/ChatPage.cpp')
-rw-r--r--src/ChatPage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp

index 4043fdf5..d0ca4670 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp
@@ -1011,7 +1011,7 @@ ChatPage::trySync() // TODO: fine grained error handling try { cache::saveState(res); - olm::handle_to_device_messages(res.to_device); + olm::handle_to_device_messages(res.to_device.events); auto updates = cache::roomUpdates(res); @@ -1234,7 +1234,7 @@ ChatPage::initialSyncHandler(const mtx::responses::Sync &res, mtx::http::Request try { cache::saveState(res); - olm::handle_to_device_messages(res.to_device); + olm::handle_to_device_messages(res.to_device.events); emit initializeViews(std::move(res.rooms)); emit initializeRoomList(cache::roomInfo());