mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Revert "socketapi: if the filename is empty, it's actually /"
Not needed, the socketapi checks for "".
This reverts commit 561e3c780d.
This commit is contained in:
parent
52a5729298
commit
e5ef5f2410
@ -353,11 +353,10 @@ void SocketApi::command_RETRIEVE_FILE_STATUS(const QString& argument, SocketType
|
||||
DEBUG << "folder offline or not watched:" << argument;
|
||||
statusString = QLatin1String("NOP");
|
||||
} else {
|
||||
QString file = argument.mid(syncFolder->path().length());
|
||||
if( file.isEmpty() ) file = QLatin1String("/");
|
||||
SyncFileStatus fStatus = this->fileStatus(syncFolder, file, _excludes);
|
||||
const QString file = argument.mid(syncFolder->path().length());
|
||||
SyncFileStatus fileStatus = this->fileStatus(syncFolder, file, _excludes);
|
||||
|
||||
statusString = fStatus.toSocketAPIString();
|
||||
statusString = fileStatus.toSocketAPIString();
|
||||
}
|
||||
|
||||
QString message = QLatin1String("STATUS:")+statusString+QLatin1Char(':')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user