mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-03 23:22:29 +08:00
parent
a5e9bef3b6
commit
17a223d9ce
@ -111,6 +111,7 @@ internal class QQAndroidBot constructor(
|
||||
val bkn: Int
|
||||
get() = client.wLoginSigInfo.sKey.data
|
||||
.fold(5381) { acc: Int, b: Byte -> acc + acc.shl(5) + b.toInt() }
|
||||
.and(Int.MAX_VALUE)
|
||||
}
|
||||
|
||||
internal val EMPTY_BYTE_ARRAY = ByteArray(0)
|
||||
|
Loading…
Reference in New Issue
Block a user