diff --git a/frontend-next/src/app/app/page.js b/frontend-next/src/app/app/page.js index 0dce553..551b869 100644 --- a/frontend-next/src/app/app/page.js +++ b/frontend-next/src/app/app/page.js @@ -177,6 +177,7 @@ function Home() { user: user.username, isSystem: true, timestamp: new Date().getTime(), + uid: user.uid }; set( ref( @@ -229,6 +230,7 @@ function Home() { user: user.username, isSystem: true, timestamp: new Date().getTime(), + uid: user.uid }; set( ref( diff --git a/frontend-next/src/app/user/[stub]/page.js b/frontend-next/src/app/user/[stub]/page.js index d80baf3..cba01db 100644 --- a/frontend-next/src/app/user/[stub]/page.js +++ b/frontend-next/src/app/user/[stub]/page.js @@ -167,7 +167,7 @@ function Home({ params }) { )}
-
+
{userRoomsArray}
diff --git a/frontend-next/src/components/app/datatypes.js b/frontend-next/src/components/app/datatypes.js index 0aa682a..1b71047 100644 --- a/frontend-next/src/components/app/datatypes.js +++ b/frontend-next/src/components/app/datatypes.js @@ -42,7 +42,7 @@ export function Chat({ chatObj }) {
- {chatObj.user} + {chatObj.user} : {chatObj.body}
@@ -70,7 +70,7 @@ return (
- {chatObj.user} + {chatObj.user} {" "} has {chatObj.body} the room.
@@ -149,8 +149,8 @@ export function Interest({interest}) { export function ProfileRoom({room}) { return ( -
-
+
+
diff --git a/frontend-next/src/components/app/header.js b/frontend-next/src/components/app/header.js index 4675d97..5a8cd1f 100644 --- a/frontend-next/src/components/app/header.js +++ b/frontend-next/src/components/app/header.js @@ -16,6 +16,7 @@ import { Popover } from '@headlessui/react' user: user.username, isSystem: true, timestamp: new Date().getTime(), + uid: user.uid }; set( ref( diff --git a/frontend-next/src/components/app/main_tab/chat.js b/frontend-next/src/components/app/main_tab/chat.js index abbc543..dfdc5d3 100644 --- a/frontend-next/src/components/app/main_tab/chat.js +++ b/frontend-next/src/components/app/main_tab/chat.js @@ -51,6 +51,7 @@ export function MainTabChatRoom({ roomObj, user }) { var payload = { body: data.message, user: user.username, + uid: user.uid, isSystem: false, timestamp: new Date().getTime(), };