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

View File

@@ -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
)

View File

@@ -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(