rename function

This commit is contained in:
Peter Maquiran
2022-01-13 14:51:44 +01:00
parent 8349f0f390
commit 05294d304f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ export class AuthService {
this.WsChatService.connect();
this.WsChatService.login().then((message) => {
console.log('rocket chat login successfully', message)
this.WsChatService.temporaryStatus('online')
this.WsChatService.setStatus('online')
}).catch((message)=>{
console.log('rocket chat login failed', message)
})
@@ -117,7 +117,7 @@ export class AuthService {
this.WsChatService.connect();
this.WsChatService.login().then((message) => {
console.log('rocket chat login successfully', message)
this.WsChatService.temporaryStatus('online')
this.WsChatService.setStatus('online')
}).catch((message)=>{
console.log('rocket chat login failed', message)
})
+1 -1
View File
@@ -174,7 +174,7 @@ export class WsChatService {
});
}
temporaryStatus(status: 'online' | 'busy' | 'away' | 'offline') {
setStatus(status: 'online' | 'busy' | 'away' | 'offline') {
const requestId = uuidv4()