putting in check if there is activity in a chat which I haven't viewed

This commit is contained in:
Arjun Patel
2022-02-04 00:20:35 -08:00
parent 322df9211d
commit f749729212
4 changed files with 60 additions and 13 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ export default class Conversation {
name: string; // engineering, general, arjun, jacob and rachel...
lastActivityDate?: Timestamp; // caching this for purpose of saving on listeners
lastActivityDate: Timestamp = Timestamp.now(); // caching this for purpose of saving on listeners
activeMembers: string[]; // userIds
membersInLiveRoom: string[] = [] as string[]; // all members in a live call right now for this convo