mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
fix(filetransfer): implement user permissions for file download and upload in client.
This commit is contained in:
@@ -607,9 +607,11 @@ func (s *session) wsToClient(msg []byte) error {
|
||||
}
|
||||
|
||||
return s.toClient(&oldMessage.FileTransferList{
|
||||
Event: oldEvent.FILETRANSFER_LIST,
|
||||
Cwd: request.RootDir,
|
||||
Files: files,
|
||||
Event: oldEvent.FILETRANSFER_LIST,
|
||||
Cwd: request.RootDir,
|
||||
UserDownload: request.UserDownload,
|
||||
UserUpload: request.UserUpload,
|
||||
Files: files,
|
||||
})
|
||||
|
||||
// Screen Events
|
||||
|
||||
Reference in New Issue
Block a user