aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-25 22:06:46 -0700
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-25 22:06:46 -0700
commita73bb17418a6dfea556a837c48463e454c8db130 (patch)
tree5690b2587cc6a5b306eae0953018c4db8bf5827b
parent381ab25563cce26be8e3983b3fb3b8090385a766 (diff)
downloadlibquotient-a73bb17418a6dfea556a837c48463e454c8db130.tar.gz
libquotient-a73bb17418a6dfea556a837c48463e454c8db130.zip
Minor cleanup
-rw-r--r--connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/connection.cpp b/connection.cpp
index 2a748eb1..db8bb085 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -664,8 +664,8 @@ QJsonObject toJson(const DirectChatsMap& directChats)
void Connection::Private::broadcastDirectChatUpdates()
{
- auto j = q->callApi<SetAccountDataJob>(userId, QStringLiteral("m.direct"),
- toJson(directChats));
+ q->callApi<SetAccountDataJob>(userId, QStringLiteral("m.direct"),
+ toJson(directChats));
emit q->directChatsListChanged();
}