[network/ruqola] src/core: Adapt compile
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit b8ea759640c71ac9f3380cda0025aac099732c21 by Laurent Montel.
Committed on 06/08/2026 at 11:31.
Pushed by mlaurent into branch 'master'.
Adapt compile
M +2 -2 src/core/connection.cpp
https://invent.kde.org/network/ruqola/-/commit/b8ea759640c71ac9f3380cda0025aac099732c21
diff --git a/src/core/connection.cpp b/src/core/connection.cpp
index 578950e91d..ab166ff38a 100644
--- a/src/core/connection.cpp
+++ b/src/core/connection.cpp
@@ -28,6 +28,7 @@
#include "authentication/logoutjob.h"
#include "job/adduserinchanneljob.h"
+#include "chat/encryptedinfo.h"
#include "chat/getmentionedmessagesjob.h"
#include "chat/getpinnedmessagesjob.h"
#include "chat/getsnippetedmessagesjob.h"
@@ -1140,8 +1141,7 @@ 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(),
+ .info = EncryptedInfo(),
};
job->setSendMessageArguments(args);
if (!job->start()) {