From b5a25b7ed632c4c4300a9120ce29b99d67d94886 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 6 Oct 2025 11:00:52 +0200 Subject: [PATCH] fix: do not show share ID for sidebar entries of public share links we show our sync folders in the files manager sidebar replace the share token (ID ?) by "Public Share Link" Signed-off-by: Matthieu Gallien --- src/libsync/account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/account.cpp b/src/libsync/account.cpp index 92fc41f0d9a5d..6eac3235d5e2a 100644 --- a/src/libsync/account.cpp +++ b/src/libsync/account.cpp @@ -218,7 +218,7 @@ void Account::setDavDisplayName(const QString &newDisplayName) QString Account::prettyName() const { // If davDisplayName is empty (can be several reasons, simplest is missing login at startup), fall back to username - auto name = davDisplayName(); + auto name = isPublicShareLink() ? tr("Public Share Link") : davDisplayName(); if (name.isEmpty()) { name = davUser();