fix build

This commit is contained in:
mzdluo123 2020-08-18 20:33:35 +08:00
parent e6e4c02586
commit bebe75271c
No known key found for this signature in database
GPG Key ID: 9F7BC2C154107A1D

View File

@ -129,7 +129,7 @@ public suspend fun File.uploadAsImage(contact: Contact): Image {
@MiraiExperimentalAPI
@SinceMirai("1.2.0")
public suspend fun InputStream.uploadAsGroupVoice(group: Group): Voice {
return group.uploadGroupVoice(this)
return group.uploadVoice(this)
}
// endregion