mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -13,11 +13,11 @@ export class RoomService {
|
||||
|
||||
chatUser: ChatUserService[] = []
|
||||
id = ''
|
||||
name = ''
|
||||
name = 'teste'
|
||||
_updatedAt = {}
|
||||
private hasLoadHistory = false
|
||||
duration = ''
|
||||
|
||||
|
||||
|
||||
constructor(
|
||||
public WsChatService: WsChatService,
|
||||
@@ -61,7 +61,7 @@ export class RoomService {
|
||||
|
||||
this.WsChatService.loadHistory(this.id, limit).then((message:any) => {
|
||||
console.log('loadHistory', message)
|
||||
|
||||
|
||||
message.result.messages.reverse().forEach(element => {
|
||||
console.log('element', element)
|
||||
element = this.fix_updatedAt(element)
|
||||
|
||||
@@ -113,7 +113,7 @@ export class WsChatMethodsService {
|
||||
}
|
||||
|
||||
private isIndividual(roomData) {
|
||||
return !roomData.fname
|
||||
return roomData.t == "d";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user