aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-16 03:30:00 +0300
committerlink2xt <link2xt@testrun.org>2021-03-16 03:30:00 +0300
commit9cc440eb5bf56b16ef6ea4bf2061f57d0c4b4e4a (patch)
tree43f02f06cd0e9ea1107a3df22535568008614755 /qml/ChatPage.qml
parent97f382bee8101a3815939839934d1a898e8aa507 (diff)
downloadkdeltachat-9cc440eb5bf56b16ef6ea4bf2061f57d0c4b4e4a.tar.gz
kdeltachat-9cc440eb5bf56b16ef6ea4bf2061f57d0c4b4e4a.zip
Pass context and eventEmitter to ChatPage as properties
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r--qml/ChatPage.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index fd6c154..1862b44 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -11,6 +11,9 @@ Kirigami.ScrollablePage {
title: chat ? chat.name : qsTr("Chat")
+ required property DcContext context
+ required property DcAccountsEventEmitter eventEmitter
+
required property var chatId
readonly property DcChat chat: context.getChat(chatId)