From 7032a9634c72346af990204d42d2e49aa921becc Mon Sep 17 00:00:00 2001 From: Uriziel Date: Sun, 12 Oct 2014 20:51:00 +0200 Subject: [PATCH] Remove droping on client side due to version mismatch --- syncplay/messages.py | 3 --- syncplay/protocols.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/syncplay/messages.py b/syncplay/messages.py index 8efbdb3..35ae499 100755 --- a/syncplay/messages.py +++ b/syncplay/messages.py @@ -270,9 +270,6 @@ en = { "password-required-server-error" : "Password required", "wrong-password-server-error" : "Wrong password supplied", "hello-server-error" : "Not enough Hello arguments", - "version-mismatch-server-error" : "Mismatch between versions of client and server, please update your client or server software. Current client version is {}, while the server version: {}" - - } pl = { diff --git a/syncplay/protocols.py b/syncplay/protocols.py index 68e4095..e56d457 100644 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -78,8 +78,6 @@ class SyncClientProtocol(JSONCommandProtocol): username, roomName, version, motd = self._extractHelloArguments(hello) if not username or not roomName or not version: self.dropWithError(getMessage("hello-server-error").format(hello)) - elif version.split(".")[0:2] != syncplay.version.split(".")[0:2]: - self.dropWithError(getMessage("version-mismatch-server-error".format(hello))) else: self._client.setUsername(username) self._client.setRoom(roomName)