Update LeftBanner, fix forget button crash
This commit is contained in:
@@ -2,12 +2,12 @@ import QtQuick 2.12
|
||||
import "../../Base"
|
||||
|
||||
Banner {
|
||||
property string userId: ""
|
||||
|
||||
color: theme.chat.leftBanner.background
|
||||
|
||||
// TODO: avatar func auto
|
||||
avatar.userId: userId
|
||||
avatar.userId: chatPage.userId
|
||||
avatar.displayName: chatPage.userInfo.display_name
|
||||
avatar.avatarUrl: chatPage.userInfo.avatar_url
|
||||
labelText: qsTr("You are not part of this room anymore.")
|
||||
|
||||
buttonModel: [
|
||||
|
Reference in New Issue
Block a user