Update chatNotificationSettings in chat info page
This commit is contained in:
parent
a1859c0333
commit
fa9e0c7d54
1 changed files with 8 additions and 0 deletions
|
@ -187,6 +187,14 @@ SilicaFlickable {
|
||||||
chatInformationPage.chatInformation = newInformation
|
chatInformationPage.chatInformation = newInformation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
onChatNotificationSettingsUpdated: {
|
||||||
|
if (chatInformationPage.chatInformation.id.toString() === chatId) {
|
||||||
|
// set whole object to trigger change
|
||||||
|
var newInformation = chatInformation;
|
||||||
|
newInformation.notification_settings = chatNotificationSettings;
|
||||||
|
chatInformationPage.chatInformation = newInformation;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
Loading…
Reference in a new issue