Skip to content

Commit

Permalink
Merge pull request #6759 from nextcloud/backport/6706/stable-3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
claucambra authored May 15, 2024
2 parents e2a4936 + 70a0a76 commit 493b6ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gui/macOS/fileprovidersocketcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ void FileProviderSocketController::sendMessage(const QString &message) const
return;
}

qCInfo(lcFileProviderSocketController) << "Sending File Provider socket message:" << message;
if (message.contains("ACCOUNT_DETAILS:")) {
qCDebug(lcFileProviderSocketController) << "Sending File Provider socket message: ACCOUNT_DETAILS:****";
} else {
qCDebug(lcFileProviderSocketController) << "Sending File Provider socket message:" << message;
}
const auto lineEndChar = '\n';
const auto messageToSend = message.endsWith(lineEndChar) ? message : message + lineEndChar;
const auto bytesToSend = messageToSend.toUtf8();
Expand Down

0 comments on commit 493b6ac

Please sign in to comment.