Support adding 3 PIDs

Implements part of network/neochat#565

Note the phone number stuff is untested as neither kde.org or matrix.org have them switched on.
This commit is contained in:
James Graham
2024-05-12 17:02:09 +00:00
parent 0dfeec6cae
commit 1a2272249d
16 changed files with 578 additions and 16 deletions

View File

@@ -16,8 +16,25 @@ import org.kde.neochat
FormCard.FormCardPage {
id: root
property NeoChatConnection initialAccount
title: i18n("Accounts")
Component.onCompleted: if (initialAccount) {
intialAccountTimer.restart()
}
Timer {
id: intialAccountTimer
interval: 10
running: false
onTriggered: applicationWindow().pageStack.layers.push(Qt.createComponent('org.kde.neochat.settings', 'AccountEditorPage'), {
connection: initialAccount
}, {
title: i18n("Account editor")
})
}
FormCard.FormHeader {
title: i18n("Accounts")
}