From 99b99e7ac9d2aa9cc5bb8c3e624b266baaa7146c Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 9 Apr 2020 13:28:41 +0000 Subject: [PATCH] [Client] Allow r0.6.0 to connect --- lib/src/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/client.dart b/lib/src/client.dart index 1ed6419..6de86bd 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -217,7 +217,7 @@ class Client { final versions = List.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;