[network/ruqola] src/core: Add missing arguments

Laurent Montel <[email protected]> Tue, 4 Aug 2026 11:54:24 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8e3cd3171943568514d19e57819408c8ee8a2838 by Laurent Montel.
Committed on 04/08/2026 at 11:52.
Pushed by mlaurent into branch 'master'.

Add missing arguments

M  +2    -0    src/core/connection.cpp

https://invent.kde.org/network/ruqola/-/commit/8e3cd3171943568514d19e57819408c8ee8a2838

diff --git a/src/core/connection.cpp b/src/core/connection.cpp
index a6d26825f6..578950e91d 100644
--- a/src/core/connection.cpp
+++ b/src/core/connection.cpp
@@ -1140,6 +1140,8 @@ void Connection::sendMessage(const QByteArray &roomId, const QString &text, cons
         .roomId = QString::fromLatin1(roomId),
         .threadMessageId = QString::fromLatin1(threadMessageId),
         .message = text,
+        .encrypted = false,
+        .info = SendMessageJob::EncryptedInfo(),
     };
     job->setSendMessageArguments(args);
     if (!job->start()) {