mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #4213 from owncloud/fix-share-dialog-displaynames-2.1
show displaynames of users in share dialog instead of userid
This commit is contained in:
commit
4cb9d6763b
@ -137,7 +137,7 @@ QSharedPointer<Sharee> ShareeModel::parseSharee(const QVariantMap &data)
|
||||
const QString shareWith = data.value("value").toMap().value("shareWith").toString();
|
||||
Sharee::Type type = (Sharee::Type)data.value("value").toMap().value("shareType").toInt();
|
||||
|
||||
return QSharedPointer<Sharee>(new Sharee(shareWith, shareWith, type));
|
||||
return QSharedPointer<Sharee>(new Sharee(shareWith, displayName, type));
|
||||
}
|
||||
|
||||
/* Set the new sharee
|
||||
|
||||
Loading…
Reference in New Issue
Block a user