MAX: web fix

This commit is contained in:
Alexey Polyakov
2026-05-06 20:33:09 +03:00
parent 7426e83914
commit f1c1639d9f
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -631,8 +631,9 @@ class AuthProcessors(BaseProcessor):
"token": token, "token": token,
"videoChatHistory": False, "videoChatHistory": False,
"time": int(time.time() * 1000), "time": int(time.time() * 1000),
} # Собираем пакет }
# Собираем пакет
packet = self.proto.pack_packet( packet = self.proto.pack_packet(
cmd=self.proto.CMD_OK, seq=seq, opcode=self.opcodes.LOGIN, payload=payload cmd=self.proto.CMD_OK, seq=seq, opcode=self.opcodes.LOGIN, payload=payload
) )
+1 -1
View File
@@ -120,7 +120,7 @@ class OnemeWS:
userPhone, userPhone,
userId, userId,
hashedToken, hashedToken,
) = await self.processors.login(payload, seq, websocket, deviceType, appVersion) ) = await self.processors.login(payload, seq, websocket, appVersion)
if userPhone: if userPhone:
await self._finish_auth( await self._finish_auth(