fix: fix qml warnings caused by rebases

This commit is contained in:
Jonathan Rainville 2021-06-23 13:30:57 -04:00 committed by Iuri Matias
parent ba01d6ad75
commit 1bcfd9df14
1 changed files with 8 additions and 4 deletions

View File

@ -168,6 +168,14 @@ ScrollView {
return true
}
Connections {
target: chatsModel
onAppReady: {
chatLogView.scrollToBottom(true)
}
}
Connections {
target: chatsModel.messageView
onMessagesLoaded: {
@ -188,10 +196,6 @@ ScrollView {
}
}
onAppReady: {
chatLogView.scrollToBottom(true)
}
onMessageNotificationPushed: function(chatId, msg, messageType, chatType, timestamp, identicon, username, hasMention, isAddedContact, channelName) {
if (appSettings.notificationSetting == Constants.notifyAllMessages ||
(appSettings.notificationSetting == Constants.notifyJustMentions && hasMention)) {