mirror of
https://github.com/openmax-server/server.git
synced 2026-05-22 19:41:41 +03:00
MAX: web fix
This commit is contained in:
@@ -631,8 +631,9 @@ class AuthProcessors(BaseProcessor):
|
||||
"token": token,
|
||||
"videoChatHistory": False,
|
||||
"time": int(time.time() * 1000),
|
||||
} # Собираем пакет
|
||||
|
||||
}
|
||||
|
||||
# Собираем пакет
|
||||
packet = self.proto.pack_packet(
|
||||
cmd=self.proto.CMD_OK, seq=seq, opcode=self.opcodes.LOGIN, payload=payload
|
||||
)
|
||||
|
||||
@@ -120,7 +120,7 @@ class OnemeWS:
|
||||
userPhone,
|
||||
userId,
|
||||
hashedToken,
|
||||
) = await self.processors.login(payload, seq, websocket, deviceType, appVersion)
|
||||
) = await self.processors.login(payload, seq, websocket, appVersion)
|
||||
|
||||
if userPhone:
|
||||
await self._finish_auth(
|
||||
|
||||
Reference in New Issue
Block a user