mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-19 18:29:11 +08:00
Compatibility improvement
This commit is contained in:
parent
cf7e325259
commit
33867d0444
@ -81,6 +81,7 @@ private fun calculateImageMd5ByImageId(imageId: String): ByteArray {
|
||||
.substringAfter('{')
|
||||
.substringBefore('}')
|
||||
.replace("-", "")
|
||||
.take(16 * 2)
|
||||
.chunkedHexToBytes()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user