diff --git a/libretroshare/src/file_sharing/p3filelists.cc b/libretroshare/src/file_sharing/p3filelists.cc index ab76bec52..c8b5749d9 100644 --- a/libretroshare/src/file_sharing/p3filelists.cc +++ b/libretroshare/src/file_sharing/p3filelists.cc @@ -1078,6 +1078,8 @@ int p3FileDatabase::RequestDirDetails(void *ref, DirDetails& d, FileSearchFlags stub.ref = p; d.children.push_back(stub); } + + if(mExtraFiles->size() > 0) { convertEntryIndexToPointer(0,1,p); // local shared files from extra list DirStub stub; diff --git a/libretroshare/src/ft/ftextralist.h b/libretroshare/src/ft/ftextralist.h index bc470e677..6d89cfe7b 100644 --- a/libretroshare/src/ft/ftextralist.h +++ b/libretroshare/src/ft/ftextralist.h @@ -122,6 +122,8 @@ public: std::string destpath); + uint32_t size() const { return mFiles.size() ; } + /*** * Hash file, and add to the files, * file is removed after period.