parent
7b10707dde
commit
b30d92a516
|
@ -2,5 +2,4 @@ import QtQuick 2.9
|
||||||
|
|
||||||
RoomForm {
|
RoomForm {
|
||||||
roomListModel.onNewMessage: if (!window.active) spectralController.showMessage(roomName, content, icon)
|
roomListModel.onNewMessage: if (!window.active) spectralController.showMessage(roomName, content, icon)
|
||||||
roomListModel.onRoomAdded: if (room) room.getPreviousContent(5)
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,7 @@ Rectangle {
|
||||||
inviteDialog.currentRoom = currentRoom
|
inviteDialog.currentRoom = currentRoom
|
||||||
inviteDialog.open()
|
inviteDialog.open()
|
||||||
} else {
|
} else {
|
||||||
|
listView.currentIndex = index
|
||||||
enteredRoom = currentRoom
|
enteredRoom = currentRoom
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue