feat: Include chat public key in conversation data and enhance chat page layout for full width and dynamic height.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
/* Chat Page Styles */
|
||||
|
||||
.chat-page {
|
||||
height: calc(100vh - 60px);
|
||||
height: 100vh;
|
||||
/* Use dynamic viewport height for mobile browsers */
|
||||
height: 100dvh;
|
||||
max-height: 100dvh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.chat-container {
|
||||
|
||||
@@ -9,7 +9,12 @@ import './chat.css';
|
||||
|
||||
interface Conversation {
|
||||
id: string;
|
||||
participant2: { handle: string; displayName: string; avatarUrl: string | null; chatPublicKey: string | null; };
|
||||
participant2: {
|
||||
handle: string;
|
||||
displayName: string;
|
||||
avatarUrl: string | null;
|
||||
chatPublicKey: string | null;
|
||||
};
|
||||
lastMessageAt: string;
|
||||
lastMessagePreview: string;
|
||||
unreadCount: number;
|
||||
|
||||
Reference in New Issue
Block a user