mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-25 06:50:09 +08:00
Fix ambiguous .use
call
This commit is contained in:
parent
1cc40bd95d
commit
1a990e5c57
@ -54,6 +54,7 @@ public class ExternalImage internal constructor(
|
||||
val hex = input.asInput().use {
|
||||
it.readBytes(8).toUHexString("")
|
||||
}
|
||||
|
||||
return@lazy hex.detectFormatName()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user