mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-23 12:23:19 -05:00
fixed permission of drap+dropped files. all attached files get added to extra list, but with different permission flags depending on the client. From that, we compute sharing permissions : turtle, or direct transfer only
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5808 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9000cf9034
commit
f61a50c5a6
12 changed files with 57 additions and 25 deletions
|
|
@ -74,14 +74,14 @@ class FileDetails
|
|||
{
|
||||
info.path = path;
|
||||
period = p;
|
||||
flags = f;
|
||||
info.transfer_info_flags = f;
|
||||
}
|
||||
|
||||
FileDetails(FileInfo &i, uint32_t p, TransferRequestFlags f)
|
||||
{
|
||||
info = i;
|
||||
period = p;
|
||||
flags = f;
|
||||
info.transfer_info_flags = f;
|
||||
}
|
||||
|
||||
FileInfo info;
|
||||
|
|
@ -96,7 +96,7 @@ class FileDetails
|
|||
|
||||
uint32_t start;
|
||||
uint32_t period;
|
||||
TransferRequestFlags flags;
|
||||
//TransferRequestFlags flags;
|
||||
};
|
||||
|
||||
const uint32_t FT_DETAILS_CLEANUP = 0x0100; /* remove when it expires */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue