Skip to content

Commit

Permalink
Merge pull request #6706 from nextcloud/bugfix/account-details
Browse files Browse the repository at this point in the history
  • Loading branch information
claucambra committed May 15, 2024
2 parents a06fe10 + 57ced98 commit 22f2fe1
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 22f2fe1

Please sign in to comment.