user contact

This commit is contained in:
Peter Maquiran
2022-01-29 19:33:32 +01:00
parent 2dfb1d6b97
commit 009c1f3747
5 changed files with 15 additions and 7 deletions
@@ -222,11 +222,15 @@ export class WsChatMethodsService {
const username = d.fields.args[0][1]
const statusNum = d.fields.args[0][2]
console.log('d', d)
const statusText = this.statusNumberToText(statusNum)
this.getUserByName(username).status = statusText
const user = this.getUserByName(username)
if(user) {
user.status = statusText
}
})
}