improve conversation list to add details when the message is picture or file

This commit is contained in:
tiago.kayaya
2021-09-27 10:53:57 +01:00
parent 47a6f5c384
commit 4d2a9b2eed
4 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ hideRefreshButton(){
this.chatService.getAllDirectMessages().subscribe(async (res:any)=>{
if(res != 200){
//console.log(res.ims);
console.log(res.ims);
this.userDirectMessages = res.ims.sort((a,b)=>{
var dateA = new Date(a._updatedAt).getTime();
var dateB = new Date(b._updatedAt).getTime();