Remove droping on client side due to version mismatch
This commit is contained in:
parent
778fb21d0b
commit
7032a9634c
@ -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 = {
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user