From bae9f39719531c60dfd596cd3cc2ad9d7493f676 Mon Sep 17 00:00:00 2001 From: James Graham Date: Mon, 6 May 2024 10:59:01 +0100 Subject: [PATCH] Request direct chat by userId to avoid breakage with upcoming libquotient changes --- src/neochatconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neochatconnection.cpp b/src/neochatconnection.cpp index c3ec48043..b7f977376 100644 --- a/src/neochatconnection.cpp +++ b/src/neochatconnection.cpp @@ -383,7 +383,7 @@ void NeoChatConnection::openOrCreateDirectChat(User *user) return; } } - requestDirectChat(user); + requestDirectChat(user->id()); connectSingleShot(this, &Connection::directChatAvailable, this, [=](auto room) { room->activateEncryption(); });