This commit is contained in:
tiago.kayaya
2022-01-28 19:09:37 +01:00
parent 9b7ac9e6fe
commit 4c43a81a1d
4 changed files with 2 additions and 20 deletions
-2
View File
@@ -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])
@@ -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
}
+1 -1
View File
@@ -349,7 +349,7 @@ export class WsChatService {
}
}})
}
loadHistory(roomId, limit: number = 50) {
const requestId = uuidv4()