fixed preferences, fixed windows handles

This commit is contained in:
STEINNI
2025-09-27 18:05:42 +00:00
parent dd3b4f32f4
commit d336ad7ce1
5 changed files with 69 additions and 29 deletions
+3 -2
View File
@@ -228,7 +228,8 @@ class myUser extends app.LoadedClasses.User {
if(app.MessageBus) {
app.MessageBus.requestWssGwAction('GET', { key: `${this.identity.uuid}:userPrefs`})
.then(settings => {
this.preferences = settings.value;
console.log("Prefs received from bus:", settings)
this.preferences = settings.value || {}
})
}
@@ -271,7 +272,7 @@ class myUser extends app.LoadedClasses.User {
if(app.MessageBus) {
let segments = path.split('.');
console.log('=====>',this, this.preferences)
console.log('=====>',this, this.preferences)
let pointer = this.preferences;
for(let i = 0; i < segments.length - 1; i++) {