The owner field is nowadays always empty when adding a federated share
using "Add to your Nextcloud", so don't check for it.
Fixes an issue where "Add to your Nextcloud" doesn't add anything.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
var fileList = this.filesApp.fileList;
var params = OC.Util.History.parseUrlQuery();
// manually add server-to-server share
- if (params.remote && params.token && params.owner && params.name) {
+ if (params.remote && params.token && params.name) {
var callbackAddShare = function(result, share) {
var password = share.password || '';