mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 05:36:58 +08:00
Fix captcha read
This commit is contained in:
parent
ed66d0bffd
commit
1f6d81314a
@ -385,7 +385,7 @@ internal class WtLogin {
|
|||||||
|
|
||||||
|
|
||||||
val buffer = IoBuffer.Pool.borrow()
|
val buffer = IoBuffer.Pool.borrow()
|
||||||
imageData.readFully(buffer)
|
imageData.readAvailable(buffer)
|
||||||
return LoginPacketResponse.Captcha.Picture(
|
return LoginPacketResponse.Captcha.Picture(
|
||||||
data = buffer,
|
data = buffer,
|
||||||
sign = sign
|
sign = sign
|
||||||
|
Loading…
Reference in New Issue
Block a user