mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
user contact
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user