mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 14:31:09 +02:00
check that encryptionInfo.sender is set
This commit is contained in:
parent
7ab1416787
commit
aa445a061d
@ -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…
x
Reference in New Issue
Block a user