mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-17 05:29:25 +08:00
to merge
This commit is contained in:
parent
5daf97015a
commit
a76606ae0a
@ -45,7 +45,7 @@ class GentleImage {
|
||||
|
||||
if (image.statusCode() != 200) error("Failed to download image")
|
||||
}
|
||||
image.bodyStream().uploadAsImage(contact) ?: error("Unable to download image")
|
||||
image.bodyStream().uploadAsImage(contact) ?: error("Unable to upload image")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user