Skip to content

Commit

Permalink
Merge pull request #6406 from nextcloud/bugfix/waitLongerForContextMe…
Browse files Browse the repository at this point in the history
…nuOnWindows

wait longer to get the contextual menu entries: may be necessary
  • Loading branch information
mgallien authored Feb 5, 2024
2 parents b0183ce + 51654bc commit 76f19ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ NCClientInterface::ContextMenuInfo NCClientInterface::FetchInfo(const std::wstri
ContextMenuInfo info;
std::wstring response;
int sleptCount = 0;
while (sleptCount < 5) {
while (sleptCount < 20) {
if (socket.ReadLine(&response)) {
if (StringUtil::begins_with(response, wstring(L"REGISTER_PATH:"))) {
wstring responsePath = response.substr(14); // length of REGISTER_PATH
Expand Down

0 comments on commit 76f19ee

Please sign in to comment.