pull made

This commit is contained in:
Eudes Inácio
2022-02-03 18:10:37 +01:00
9 changed files with 195 additions and 53 deletions
@@ -141,7 +141,7 @@ export class WsChatMethodsService {
/**
* @description sort room list by last message date
*/
sortRoomList() {
sortRoomList =() => {
this._dm = this.sortService.sortDate(this._dm,'_updatedAt').reverse()
this._group = this.sortService.sortDate(this._group,'_updatedAt').reverse()
}
@@ -217,6 +217,7 @@ export class WsChatMethodsService {
room.receiveMessage()
room.getAllUsers = this.getUsers
room.receiveMessageDelete();
room.sortRoomList = this.sortRoomList
let roomId = this.getRoomId(roomData)