diff --git a/src/app/services/chat/room.service.ts b/src/app/services/chat/room.service.ts index 6c4b96aec..a83cdf00d 100644 --- a/src/app/services/chat/room.service.ts +++ b/src/app/services/chat/room.service.ts @@ -112,8 +112,6 @@ export class RoomService { this.WsChatService.receiveStreamNotifyRoom((message) => { - console.log(message.fields) - if(message.fields.eventName == this.id+'/'+'typing') { this.userThatIsTyping = this.usernameToDisplayName(message.fields.args[0]) diff --git a/src/app/services/chat/ws-chat-methods.service.ts b/src/app/services/chat/ws-chat-methods.service.ts index 43ee37415..56896f89b 100644 --- a/src/app/services/chat/ws-chat-methods.service.ts +++ b/src/app/services/chat/ws-chat-methods.service.ts @@ -86,22 +86,6 @@ export class WsChatMethodsService { this._dm = this.sortService.sortDate(this._dm,'_updatedAt').reverse() this._group = this.sortService.sortDate(this._group,'_updatedAt').reverse() - /* function compare( a, b ) { - if ( a.last_nom < b.last_nom ){ - return -1; - } - if ( a.last_nom > b.last_nom ){ - return 1; - } - return 0; - } - - this.dm.sort(compare); */ - - console.log(this.dm); - - - this.loadingWholeList = false } diff --git a/src/app/services/chat/ws-chat.service.ts b/src/app/services/chat/ws-chat.service.ts index f7ed42422..e4871226a 100644 --- a/src/app/services/chat/ws-chat.service.ts +++ b/src/app/services/chat/ws-chat.service.ts @@ -349,7 +349,7 @@ export class WsChatService { } }}) } - + loadHistory(roomId, limit: number = 50) { const requestId = uuidv4() diff --git a/src/app/shared/chat/messages/messages.page.ts b/src/app/shared/chat/messages/messages.page.ts index a7cd3595d..dd5037409 100644 --- a/src/app/shared/chat/messages/messages.page.ts +++ b/src/app/shared/chat/messages/messages.page.ts @@ -283,7 +283,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy changeInput() { this.wsChatMethodsService.getDmRoom(this.roomId).typing() } - + async openViewDocumentModal(file: any) { let task = { serialNumber: '',