Remove warnings on closing room
This commit is contained in:
parent
308207c289
commit
9a0c1c27ed
@ -33,6 +33,7 @@ Page {
|
|||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
function onCurrentRoomChanged() {
|
function onCurrentRoomChanged() {
|
||||||
|
if (Rooms.currentRoom)
|
||||||
roomlist.positionViewAtIndex(Rooms.roomidToIndex(Rooms.currentRoom.roomId), ListView.Contain);
|
roomlist.positionViewAtIndex(Rooms.roomidToIndex(Rooms.currentRoom.roomId), ListView.Contain);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,11 +85,15 @@ Item {
|
|||||||
target: timelineView
|
target: timelineView
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageView {
|
Loader {
|
||||||
|
active: room || roomPreview
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
sourceComponent: MessageView {
|
||||||
implicitHeight: msgView.height - typingIndicator.height
|
implicitHeight: msgView.height - typingIndicator.height
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
source: CallManager.isOnCall && CallManager.callType != CallType.VOICE ? "voip/VideoCall.qml" : ""
|
source: CallManager.isOnCall && CallManager.callType != CallType.VOICE ? "voip/VideoCall.qml" : ""
|
||||||
onLoaded: TimelineManager.setVideoCallItem()
|
onLoaded: TimelineManager.setVideoCallItem()
|
||||||
|
Loading…
Reference in New Issue
Block a user