aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-04-16 23:32:59 +0200
committerTobias Fella <fella@posteo.de>2022-05-16 21:05:00 +0200
commit6f961ff2726c87e679cc9f6c39ed27a92a31cb0d (patch)
treee78e4d4a3945eb600e320f5d71e73f7d0a23bad9 /lib/room.cpp
parent8af39e510e550d001e207bdc0177a1480f6ebcba (diff)
downloadlibquotient-6f961ff2726c87e679cc9f6c39ed27a92a31cb0d.tar.gz
libquotient-6f961ff2726c87e679cc9f6c39ed27a92a31cb0d.zip
Fixes
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 0ca8f648..35de59ed 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -452,7 +452,7 @@ public:
qCWarning(E2EE) << "Failed to load key for new megolm session";
return;
}
- addInboundGroupSession(q->connection()->olmAccount()->identityKeys().curve25519, currentOutboundMegolmSession->sessionId(), std::get<QByteArray>(sessionKey), QString(connection->olmAccount()->identityKeys().ed25519));
+ addInboundGroupSession(currentOutboundMegolmSession->sessionId(), std::get<QByteArray>(sessionKey), q->localUser()->id(), "SELF"_ls);
}
std::unique_ptr<EncryptedEvent> payloadForUserDevice(User* user, const QString& device, const QByteArray& sessionId, const QByteArray& sessionKey)