Skip to content

Commit

Permalink
Merge pull request #6417 from nextcloud/backport/6406/stable-3.12
Browse files Browse the repository at this point in the history
[stable-3.12] wait longer to get the contextual menu entries: may be necessary
  • Loading branch information
mgallien authored Feb 6, 2024
2 parents e37eb83 + 222746e commit 8842bcb
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 8842bcb

Please sign in to comment.