mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
check that encryptionInfo.sender is set
This commit is contained in:
parent
7ab1416787
commit
aa445a061d
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ export default createReactClass({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const eventSenderTrust = this.context.checkDeviceTrust(
|
const eventSenderTrust = encryptionInfo.sender && this.context.checkDeviceTrust(
|
||||||
senderId, encryptionInfo.sender.deviceId,
|
senderId, encryptionInfo.sender.deviceId,
|
||||||
);
|
);
|
||||||
if (!eventSenderTrust) {
|
if (!eventSenderTrust) {
|
||||||
|
|
Loading…
Reference in a new issue