You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Change getDeviceByIdentityKey() to just the 2 arg version
This commit is contained in:
@@ -713,7 +713,7 @@ Crypto.prototype.getEventSenderDeviceInfo = function(event) {
|
||||
// identity key of the device which set up the Megolm session.
|
||||
|
||||
const device = this._deviceList.getDeviceByIdentityKey(
|
||||
event.getSender(), algorithm, senderKey,
|
||||
algorithm, senderKey,
|
||||
);
|
||||
|
||||
if (device === null) {
|
||||
|
||||
Reference in New Issue
Block a user