fix: option OPTION_ONE_WAY_FILE_TRANSFER (#9387)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou authored and GitHub committed 2024-09-18 18:22:12 +08:00
1 parent e20f5dd001
commit e5ec6957fe
3 files changed
+10 -5

No files matched your search

+1 -1
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 { .. }