Merge branch 'client-fix-send-correct-key' into 'master'

[Client] Send correct key in olm

See merge request famedly/famedlysdk!199
This commit is contained in:
Christian Pauly 2020-02-18 07:59:58 +00:00
commit 2f3afb28ee

View file

@ -1639,7 +1639,7 @@ class Client {
"type": type, "type": type,
"content": message, "content": message,
"sender": this.userID, "sender": this.userID,
"sender_keys": {"ed25519": fingerprintKey}, "keys": {"ed25519": fingerprintKey},
"recipient": device.userId, "recipient": device.userId,
"recipient_keys": {"ed25519": device.ed25519Key}, "recipient_keys": {"ed25519": device.ed25519Key},
}; };