diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-07-29 08:57:44 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-07-29 08:57:44 +0200 |
commit | 5557b68a01f1b0f2e8e169aacdbe74f89b14cde3 (patch) | |
tree | 982455ffc04039a56ec40b501351e79c112ee766 | |
parent | 7cba88bad28e1d3aa7a37b345b40325918030505 (diff) | |
download | libquotient-5557b68a01f1b0f2e8e169aacdbe74f89b14cde3.tar.gz libquotient-5557b68a01f1b0f2e8e169aacdbe74f89b14cde3.zip |
Fix FTBFS
-rw-r--r-- | lib/user.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<SetAvatarUrlJob>(userId, contentUri); + auto* j = q->connection()->callApi<SetAvatarUrlJob>(userId, contentUri); connect(j, &BaseJob::success, q, [=] { q->updateAvatarUrl(contentUri, avatarUrlForRoom(nullptr)); }); } |