[core] fix up previous 2e4cab43: fix omitted change. #2195

This commit is contained in:
Him188 2022-08-16 11:30:08 +08:00
parent 2e4cab4365
commit 9dc25bb1f3
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -535,7 +535,7 @@ internal abstract class CommonRemoteFileImpl(
callback: RemoteFile.ProgressionCallback?,
): FileMessage {
val msg = uploadInternal(resource, callback)
contact.sendMessage(msg + MiraiInternalMessageFlag)
contact.sendMessage(msg + AllowSendFileMessage)
return msg
}