Merge pull request #325 from monich/warning-fix

Fix QML runtime warning in ChatInformationTabItemMembersGroups
This commit is contained in:
jgibbon 2021-01-17 21:48:30 +01:00 committed by GitHub
commit 077c928b27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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