mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ export class WsChatService {
|
||||
}
|
||||
}})
|
||||
}
|
||||
|
||||
|
||||
loadHistory(roomId, limit: number = 50) {
|
||||
|
||||
const requestId = uuidv4()
|
||||
|
||||
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user