Notification improvements.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import QtQuick 2.9
|
||||
|
||||
RoomForm {
|
||||
roomListModel.onNewMessage: if (!window.visible) spectralController.showMessage(roomName, content, icon)
|
||||
roomListModel.onNewMessage: if (!window.visible) spectralController.postNotification(roomId, eventId, roomName, senderName, text, icon)
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ Page {
|
||||
property alias filter: roomListForm.filter
|
||||
|
||||
property alias roomListModel: roomListModel
|
||||
property alias enteredRoom: roomListForm.enteredRoom
|
||||
|
||||
id: page
|
||||
|
||||
|
||||
@@ -36,6 +36,12 @@ Rectangle {
|
||||
}
|
||||
|
||||
onClicked: currentRoom.chooseAndUploadFile()
|
||||
|
||||
BusyIndicator {
|
||||
anchors.fill: parent
|
||||
|
||||
running: false
|
||||
}
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
|
||||
Reference in New Issue
Block a user