fix: option OPTION_ONE_WAY_FILE_TRANSFER (#9387)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-09-18 18:22:12 +08:00 committed by GitHub
parent e20f5dd001
commit e5ec6957fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 5 deletions

View file

@ -132,7 +132,7 @@ impl ClipboardFile {
)
}
pub fn is_stopping_allowed_from_peer(&self) -> bool {
pub fn is_beginning_message(&self) -> bool {
matches!(
self,
ClipboardFile::MonitorReady | ClipboardFile::FormatList { .. }