mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-25 10:13:13 -05:00
fixed bug preventing search by hash to be called on own files
This commit is contained in:
parent
063783a859
commit
8d146038c2
3 changed files with 41 additions and 17 deletions
|
|
@ -160,7 +160,8 @@ void ftServer::SetupFtServer()
|
|||
void ftServer::connectToFileDatabase(p3FileDatabase *fdb)
|
||||
{
|
||||
mFileDatabase = fdb ;
|
||||
mFtSearch->addSearchMode(fdb, RS_FILE_HINTS_LOCAL | RS_FILE_HINTS_REMOTE);
|
||||
mFtSearch->addSearchMode(fdb, RS_FILE_HINTS_LOCAL); // due to a bug in addSearchModule, modules can only be added one by one. Using | between flags wont work.
|
||||
mFtSearch->addSearchMode(fdb, RS_FILE_HINTS_REMOTE);
|
||||
}
|
||||
void ftServer::connectToTurtleRouter(p3turtle *fts)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue