Add chat redirection on chat rooms + fix participant devices display

This commit is contained in:
Julien Wadel 2021-08-09 15:44:16 +02:00
parent 160706c2c7
commit a5fa14461b
2 changed files with 7 additions and 1 deletions

View file

@ -218,6 +218,12 @@ ColumnLayout {
onClicked: CallsListModel.launchAudioCall(conversation.peerAddress)
}
ActionButton {
icon: 'chat'
visible: SettingsModel.chatEnabled && SettingsModel.getShowStartChatButton() && !conversation.chatRoomModel.groupEnabled && conversation.securityLevel != 1
onClicked: CallsListModel.launchChat(conversation.peerAddress, 0)
}
ActionButton {
icon: 'group_chat'

View file

@ -51,7 +51,7 @@ DialogPlus {
property int securityLevel : modelData.securityLevel
property string addressToCall : modelData.sipAddress
width:parent.width
width: parent ? parent.width : undefined
spacing: 0
RowLayout {
id: item