diff options
-rw-r--r-- | core/js/sharedialogview.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index b8d07bad992..c89c1d95be9 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -149,6 +149,15 @@ } // Filter out the owner of the share + if (view.model.hasReshare()) { + usersLength = users.length; + for (i = 0 ; i < usersLength; i++) { + if (users[i].value.shareWith === view.model.getReshareOwner()) { + users.splice(i, 1); + break; + } + } + } var shares = view.model.get('shares'); var sharesLength = shares.length; |