Skip to content

Commit

Permalink
Skip unnecessary share retrieval
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic committed Jan 9, 2024
1 parent 2426353 commit eff0eec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: Skip unnecessaryd share retrieval

https://github.com/cs3org/reva/pull/4454
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func (h *Handler) AcceptReceivedShare(w http.ResponseWriter, r *http.Request) {
}
} else {
if s.State == collaboration.ShareState_SHARE_STATE_ACCEPTED {
s.Hidden = h.getReceivedShareHideFlagFromShareID(r.Context(), shareID)
mountedShares = append(mountedShares, s)
}
}
Expand Down

0 comments on commit eff0eec

Please sign in to comment.