Add newer roomlistmodel.

This commit is contained in:
Black Hat
2018-03-14 17:11:45 +08:00
parent d3b5d1d0dc
commit dcf7bed39a
3 changed files with 236 additions and 100 deletions

View File

@@ -116,7 +116,7 @@ Item {
ImageStatus {
width: parent.height
height: parent.height
source: avatar == null ? "qrc:/asset/img/avatar.png" : "image://mxc/" + avatar
source: avatar == "" ? "qrc:/asset/img/avatar.png" : "image://mxc/" + avatar
opaqueBackground: true
}