summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml

index e596d8e2..fd08f0ca 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml
@@ -52,6 +52,13 @@ Page { } + Component { + id: mobileCallInviteDialog + + CallInvite { + } + } + Menu { id: messageContextMenu @@ -151,6 +158,16 @@ Page { } } + Connections { + target: CallManager + onNewInviteState: { + if (CallManager.haveCallInvite && Settings.mobileMode) { + var dialog = mobileCallInviteDialog.createObject(msgView); + dialog.open(); + } + } + } + Label { visible: !TimelineManager.timeline && !TimelineManager.isInitialSync anchors.centerIn: parent @@ -184,6 +201,7 @@ Page { } Rectangle { + id: msgView Layout.fillWidth: true Layout.fillHeight: true color: colors.base