From 5557b68a01f1b0f2e8e169aacdbe74f89b14cde3 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 29 Jul 2020 08:57:44 +0200 Subject: Fix FTBFS --- lib/user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user.cpp b/lib/user.cpp index 522ae197..03474b10 100644 --- a/lib/user.cpp +++ b/lib/user.cpp @@ -295,7 +295,7 @@ bool User::isIgnored() const { return connection()->isIgnored(this); } void User::Private::setAvatarOnServer(QString contentUri, User* q) { - auto* j = connection->callApi(userId, contentUri); + auto* j = q->connection()->callApi(userId, contentUri); connect(j, &BaseJob::success, q, [=] { q->updateAvatarUrl(contentUri, avatarUrlForRoom(nullptr)); }); } -- cgit v1.2.3