Fixed QML runtime warning in ChatInformationTabItemMembersGroups

ChatInformationTabItemMembersGroups.qml:75:28: Unable to assign QString to QVariantMap
This commit is contained in:
Slava Monich 2021-01-17 21:37:47 +02:00
parent 9bf9a1a1eb
commit 14f73dbb48

View file

@ -72,7 +72,7 @@ ChatInformationTabItemBase {
}
delegate: PhotoTextsListItem {
pictureThumbnail {
photoData: (typeof user.profile_photo !== "undefined") ? user.profile_photo.small : ""
photoData: user.profile_photo ? user.profile_photo.small : null
}
width: parent.width