From 5256c4f37a64a131a23de7120afaaacc0a13c43b Mon Sep 17 00:00:00 2001 From: royna2544 Date: Thu, 19 Dec 2024 16:18:40 +0900 Subject: [PATCH] fixup! socket: Implement TRANSFER_FILE JSON mode --- src/socket/bot/SocketDataHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/socket/bot/SocketDataHandler.cpp b/src/socket/bot/SocketDataHandler.cpp index 89fa5d7b..b6d769f8 100644 --- a/src/socket/bot/SocketDataHandler.cpp +++ b/src/socket/bot/SocketDataHandler.cpp @@ -351,6 +351,7 @@ struct TransferFileMeta : SocketFile2DataHelper::Params { } result.hash = parsed.value(); } + result.options = options; result.file_size = size - offset; result.filebuffer = static_cast(buffer) + offset;