live component of who is actively in the room so to speak

This commit is contained in:
talksik
2022-05-28 14:14:53 -05:00
parent b7dea99d4e
commit 15b5471fb8
@@ -6,9 +6,11 @@ export default class Conversation {
public createdByUserId: string,
public lastUpdatedDate,
public lastUpdatedDate = Timestamp.now(),
public createdDate,
public createdDate = Timestamp.now(),
public membersInRoom: string[] = [],
) {}
}
@@ -17,6 +19,6 @@ export class Member {
public id: string,
public userId: string,
public role: 'admin' | 'regular',
public joinedDate = serverTimestamp(),
public joinedDate = Timestamp.now(),
) {}
}