Clarify "No devices" message

This commit is contained in:
Luke Barnard 2017-03-06 16:01:22 +00:00
parent 49c66d8645
commit 04510da057

View file

@ -569,7 +569,7 @@ module.exports = WithMatrixClient(React.createClass({
} else if (devices === null) { } else if (devices === null) {
devComponents = "Unable to load device list"; devComponents = "Unable to load device list";
} else if (devices.length === 0) { } else if (devices.length === 0) {
devComponents = "No registered devices"; devComponents = "No devices with registered encryption keys";
} else { } else {
devComponents = []; devComponents = [];
for (var i = 0; i < devices.length; i++) { for (var i = 0; i < devices.length; i++) {