Show the creator or future room's avatar

This commit is contained in:
miruka
2019-11-07 11:08:47 -04:00
parent d6fd518334
commit 11c8af7c19
3 changed files with 37 additions and 2 deletions

View File

@@ -63,7 +63,9 @@ HTileDelegate {
icon.name: "add-account" // TODO
backgroundColor: "transparent"
toolTip.text: qsTr("Add new chat")
onClicked: pageLoader.showPage("AddChat/AddChat")
onClicked: pageLoader.showPage(
"AddChat/AddChat", {userId: model.data.user_id},
)
leftPadding: theme.spacing / 2
rightPadding: leftPadding