mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Also allow sharing if we only sync a part
This commit is contained in:
parent
facb6b2e81
commit
ee2e6e5dce
@ -421,7 +421,8 @@ void SocketApi::command_SHARE(const QString& argument, SocketType* socket)
|
||||
QString message = QLatin1String("SHARE:OK:")+QDir::toNativeSeparators(argument);
|
||||
sendMessage(socket, message);
|
||||
QString folderForPath = shareFolder->path();
|
||||
emit shareCommandReceived(argument.right(argument.count()-folderForPath.count()+1));
|
||||
QString path = shareFolder->remotePath() + argument.right(argument.count()-folderForPath.count()+1);
|
||||
emit shareCommandReceived(path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user