diff --git a/src/app/pages/chat/chat.page.html b/src/app/pages/chat/chat.page.html index 05200b433..0c26044cf 100644 --- a/src/app/pages/chat/chat.page.html +++ b/src/app/pages/chat/chat.page.html @@ -69,10 +69,10 @@
{{room.lastMessage.msg}} - A escrever ... - + A escrever... +
diff --git a/src/app/pages/inactivity/inactivity.page.ts b/src/app/pages/inactivity/inactivity.page.ts index 4a60452d7..00dd852b0 100644 --- a/src/app/pages/inactivity/inactivity.page.ts +++ b/src/app/pages/inactivity/inactivity.page.ts @@ -201,10 +201,8 @@ export class InactivityPage implements OnInit { storePin() { - const code = this.code.join('') - - SessionStore.setPin(code) - + const code = this.code.join(''); + SessionStore.setPin(code); this.router.navigate(['/home/events']); } diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts index 5698453cd..fb9659c43 100644 --- a/src/app/services/auth.service.ts +++ b/src/app/services/auth.service.ts @@ -126,7 +126,7 @@ export class AuthService { this.loginToChatWs() - console.log('Login to Rocket chat OK'); + console.log('Login to Rocket chat OK', responseChat); this.ValidatedUserChat = responseChat; localStorage.setItem('userChat', JSON.stringify(responseChat)); this.storageService.store(AuthConnstants.AUTH, responseChat); diff --git a/src/app/services/chat/ws-chat.service.ts b/src/app/services/chat/ws-chat.service.ts index d4904bf0c..ef226c27c 100644 --- a/src/app/services/chat/ws-chat.service.ts +++ b/src/app/services/chat/ws-chat.service.ts @@ -671,7 +671,7 @@ updateRoomEventss(roomId, collection:string, funx: Function, ) { if (this.ws.connected == false || loginRequired == true && this.isLogin == false) { // save data to send when back online // console.log('save msgQueue this.ws.connected == false || loginRequired == true && this.isLogin == false',this.ws.connected, loginRequired, this.isLogin) - console.log('save msgQueue', requestId, message) + //console.log('save msgQueue', requestId, message) this.wsMsgQueue[requestId] = {message, requestId, loginRequired} } else { diff --git a/src/app/shared/chat/messages/messages.page.html b/src/app/shared/chat/messages/messages.page.html index 16c0804e9..52066f057 100644 --- a/src/app/shared/chat/messages/messages.page.html +++ b/src/app/shared/chat/messages/messages.page.html @@ -48,11 +48,11 @@
- {{msg.u.name}} {{msg.offline}} + {{msg.u.name}} {{showDateDuration(msg._updatedAt)}}
- {{msg.msg}} {{msg.offline}} + {{msg.msg}} {{last ? scrollToBottom() : ''}}
@@ -73,7 +73,7 @@
-
+
image