aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r--qml/ChatPage.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index ecc2383..97d8069 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -135,7 +135,10 @@ Kirigami.ScrollablePage {
*/
verticalLayoutDirection: ListView.BottomToTop
- delegate: Message {message: context.getMessage(msgId)}
+ delegate: Message {
+ message: chatPage.context.getMessage(msgId)
+ context: chatPage.context
+ }
}
footer: Loader {