diff options
author | Tobias Fella <fella@posteo.de> | 2022-04-16 23:32:59 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2022-05-16 21:05:00 +0200 |
commit | 6f961ff2726c87e679cc9f6c39ed27a92a31cb0d (patch) | |
tree | e78e4d4a3945eb600e320f5d71e73f7d0a23bad9 | |
parent | 8af39e510e550d001e207bdc0177a1480f6ebcba (diff) | |
download | libquotient-6f961ff2726c87e679cc9f6c39ed27a92a31cb0d.tar.gz libquotient-6f961ff2726c87e679cc9f6c39ed27a92a31cb0d.zip |
Fixes
-rw-r--r-- | lib/room.cpp | 2 |
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) |