Rename users.getUser to users.find

This commit is contained in:
miruka
2019-07-07 22:41:32 -04:00
parent f64a2c68e9
commit 2170b16175
12 changed files with 17 additions and 17 deletions

View File

@@ -3,13 +3,13 @@ import "../../Base"
Banner {
property string userId: ""
readonly property var userInfo: users.getUser(userId)
readonly property var userInfo: users.find(userId)
color: theme.chat.leftBanner.background
// TODO: avatar func auto
avatar.userId: userId
avatar.imageUrl: users.getUser(userId).avatarUrl
avatar.imageUrl: users.find(userId).avatarUrl
labelText: qsTr("You are not part of this room anymore.")
buttonModel: [