diff --git a/src/app/components/chat/chat.service.ts b/src/app/components/chat/chat.service.ts index 3fe3e6e..2a337bd 100644 --- a/src/app/components/chat/chat.service.ts +++ b/src/app/components/chat/chat.service.ts @@ -544,8 +544,8 @@ export class ChatService implements OnDestroy { // } const newChat: Chat = { id: id, - contact: contact || { pubKey: id, name: "Unknown", picture: "/images/avatars/avatar-placeholder.png" }, - lastMessage: '...', + contact: contact || { pubKey: id, name: contact.name, picture: contact.picture }, + lastMessage: 'new chat...', lastMessageAt: Math.floor(Date.now() / 1000).toString(), messages: [] };