2024-09-06 13:11:47 +00:00
|
|
|
import QtQuick 2.15
|
2022-02-08 12:08:02 +00:00
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var usersModule
|
|
|
|
|
2022-11-08 08:36:08 +00:00
|
|
|
readonly property var usersModel: usersModule ? usersModule.model : null
|
|
|
|
readonly property var temporaryModel: usersModule ? usersModule.temporaryModel : null
|
|
|
|
|
|
|
|
function appendTemporaryModel(pubKey, displayName) {
|
|
|
|
usersModule.appendTemporaryModel(pubKey, displayName)
|
|
|
|
}
|
|
|
|
function removeFromTemporaryModel(pubKey) {
|
|
|
|
usersModule.removeFromTemporaryModel(pubKey)
|
|
|
|
}
|
|
|
|
function resetTemporaryModel() {
|
|
|
|
usersModule.resetTemporaryModel()
|
|
|
|
}
|
|
|
|
function updateGroupMembers() {
|
|
|
|
usersModule.updateGroupMembers()
|
2022-02-08 12:08:02 +00:00
|
|
|
}
|
|
|
|
}
|