gateway: allow "8" in url params

This commit is contained in:
Luna 2020-09-29 22:44:08 -03:00
parent fa937825df
commit bf3b1748b0
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ async def websocket_handler(app, ws, url):
except (KeyError, IndexError): except (KeyError, IndexError):
gw_encoding = "json" gw_encoding = "json"
if gw_version not in ("6", "7"): if gw_version not in ("6", "7", "8"):
return await ws.close(1000, "Invalid gateway version") return await ws.close(1000, "Invalid gateway version")
if gw_encoding not in ("json", "etf"): if gw_encoding not in ("json", "etf"):