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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user