Merge pull request #6324 from thundernest/notify_on_moreMessages_change

Update the message list when the "more messages" value of a folder changes
This commit is contained in:
cketti 2022-09-26 17:38:13 +02:00 committed by GitHub
commit e6a5a8d2ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,11 @@ class NotifierMessageStore(
notifyChange()
}
override fun setMoreMessages(folderId: Long, moreMessages: MoreMessages) {
messageStore.setMoreMessages(folderId, moreMessages)
notifyChange()
}
private fun notifyChange() {
localStore.notifyChange()
}