mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-01 03:50:18 +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()
|
||||
imageData.readFully(buffer)
|
||||
imageData.readAvailable(buffer)
|
||||
return LoginPacketResponse.Captcha.Picture(
|
||||
data = buffer,
|
||||
sign = sign
|
||||
|
Loading…
Reference in New Issue
Block a user