Refresh message counter when message arrives
For some reason we get qrc:/ChatsPage.qml:106: ReferenceError: model is not defined
with the old model api, so I just ported it to the new one, which doesn't have this problem.
Depending on Qt 5.15 should be fine now.
Edited by Jonah Brüchert