aboutsummaryrefslogtreecommitdiff
path: root/lib/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/user.cpp')
-rw-r--r--lib/user.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/user.cpp b/lib/user.cpp
index f6611309..12977b8a 100644
--- a/lib/user.cpp
+++ b/lib/user.cpp
@@ -299,9 +299,9 @@ bool User::setAvatar(QIODevice* source)
std::bind(&Private::setAvatarOnServer, d.data(), _1, this));
}
-void User::requestDirectChat()
+void User::requestDirectChat() const
{
- connection()->requestDirectChat(d->userId);
+ connection()->requestDirectChat(this);
}
void User::ignore()