mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-29 10:00:13 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a616991f3e
@ -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