[Client] Allow r0.6.0 to connect

This commit is contained in:
Christian Pauly 2020-04-09 13:28:41 +00:00
parent 31871235a5
commit 99b99e7ac9

View file

@ -217,7 +217,7 @@ class Client {
final versions = List<String>.from(versionResp['versions']);
for (var i = 0; i < versions.length; i++) {
if (versions[i] == 'r0.5.0') {
if (versions[i] == 'r0.5.0' || versions[i] == 'r0.6.0') {
break;
} else if (i == versions.length - 1) {
return false;