diff --git a/src/components/views/dialogs/EncryptedEventDialog.js b/src/components/views/dialogs/EncryptedEventDialog.js index c86b1d20f8..ba706e0aa5 100644 --- a/src/components/views/dialogs/EncryptedEventDialog.js +++ b/src/components/views/dialogs/EncryptedEventDialog.js @@ -83,7 +83,7 @@ module.exports = React.createClass({ var verificationStatus = (NOT verified); if (device.isBlocked()) { - verificationStatus = (Blocked); + verificationStatus = (Blacklisted); } else if (device.isVerified()) { verificationStatus = "verified"; } diff --git a/src/components/views/elements/DeviceVerifyButtons.js b/src/components/views/elements/DeviceVerifyButtons.js index 90af1635c9..aeb93e866c 100644 --- a/src/components/views/elements/DeviceVerifyButtons.js +++ b/src/components/views/elements/DeviceVerifyButtons.js @@ -49,7 +49,7 @@ export default React.createClass({
If it matches, press the verify button below. If it doesnt, then someone else is intercepting this device - and you probably want to press the block button instead. + and you probably want to press the blacklist button instead.
In future this verification process will be more sophisticated. @@ -73,33 +73,33 @@ export default React.createClass({ ); }, - onBlockClick: function() { + onBlacklistClick: function() { MatrixClientPeg.get().setDeviceBlocked( this.props.userId, this.props.device.deviceId, true ); }, - onUnblockClick: function() { + onUnblacklistClick: function() { MatrixClientPeg.get().setDeviceBlocked( this.props.userId, this.props.device.deviceId, false ); }, render: function() { - var blockButton = null, verifyButton = null; + var blacklistButton = null, verifyButton = null; if (this.props.device.isBlocked()) { - blockButton = ( -