aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/connection.cpp b/connection.cpp
index 4ed7384f..c515e5a4 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -39,6 +39,7 @@
#include <QtCore/QStringBuilder>
#include <QtCore/QElapsedTimer>
#include <QtCore/QRegularExpression>
+#include <QtCore/QCoreApplication>
using namespace QMatrixClient;
@@ -274,6 +275,7 @@ void Connection::onSyncSuccess(SyncData &&data) {
}
if ( auto* r = provideRoom(roomData.roomId, roomData.joinState) )
r->updateData(std::move(roomData));
+ QCoreApplication::instance()->processEvents();
}
}