summary refs log tree commit diff
path: root/src/MatrixClient.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-21 21:17:01 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-21 21:17:01 +0300
commit160fe1d668d9c1fa8f089cec34df29c2ba31a56f (patch)
treef0d9fd1aee271afa8e51aea312ad1ec01ff614dc /src/MatrixClient.cc
parentRemove ui flickering when adding new timeline events (diff)
downloadnheko-160fe1d668d9c1fa8f089cec34df29c2ba31a56f.tar.xz
Remove cache updates from the main thread
Diffstat (limited to 'src/MatrixClient.cc')
-rw-r--r--src/MatrixClient.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MatrixClient.cc b/src/MatrixClient.cc

index 4ececd01..f0b3bd26 100644 --- a/src/MatrixClient.cc +++ b/src/MatrixClient.cc
@@ -56,9 +56,9 @@ MatrixClient::MatrixClient(QString server, QObject *parent) void MatrixClient::reset() noexcept { - next_batch_ = ""; - server_ = ""; - token_ = ""; + next_batch_.clear(); + server_.clear(); + token_.clear(); txn_id_ = 0; }