Skip to content

Commit

Permalink
fixup! socket: Implement TRANSFER_FILE JSON mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Royna2544 committed Dec 19, 2024
1 parent 3feff84 commit 5256c4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/socket/bot/SocketDataHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ struct TransferFileMeta : SocketFile2DataHelper::Params {
}
result.hash = parsed.value();
}
result.options = options;
result.file_size = size - offset;
result.filebuffer =
static_cast<const std::uint8_t*>(buffer) + offset;
Expand Down

0 comments on commit 5256c4f

Please sign in to comment.