Skip to content

Commit 3fda992

Browse files
committed
Try macing macos happy
1 parent 051f143 commit 3fda992

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Quotient/e2ee/qolmaccount.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,11 @@ std::pair<QOlmSession, QString> QOlmAccount::createInboundSession(
157157
const QByteArray& theirIdentityKey, const QOlmMessage& preKeyMessage)
158158
{
159159
rust::Str theirIdentityKeyRS(theirIdentityKey.data(), theirIdentityKey.length());
160-
olm::OlmMessageParts parts(preKeyMessage.type(), ::rust::String(preKeyMessage.data(), preKeyMessage.length()));
160+
olm::OlmMessageParts parts {
161+
.message_type = preKeyMessage.type(),
162+
.ciphertext = rust::String(preKeyMessage.data(), preKeyMessage.length()),
163+
};
164+
161165
auto theirIdentityKeyResult = types::curve25519_public_key_from_base64(theirIdentityKeyRS);
162166
//TODO theirIdentityKeyResult error handling
163167
qWarning() << "Creating inbound session";

0 commit comments

Comments
 (0)