sending message nicely

This commit is contained in:
Arjun Patel
2022-02-05 20:04:13 -08:00
parent e92a54623c
commit 9a82b249ac
6 changed files with 83 additions and 8 deletions
+4 -4
View File
@@ -11,9 +11,9 @@ export default class Conversation {
activeMembers: string[]; // userIds
membersInLiveRoom: string[] = [] as string[]; // all members in a live call right now for this convo
cachedAudioClips: AudioClip[] = [] as AudioClip[];
cachedDrawerItems: Link[] = [] as Link[];
tldrClips: AudioClip[] = [] as AudioClip[];
cachedAudioClip?: AudioClip; // last message pretty much
cachedDrawerItem?: Link; // last link pretty much
cachedTldrClip?: string;
createdDate: Timestamp = Timestamp.now();
createdByUserId: string;
@@ -68,7 +68,7 @@ export enum ConversationMemberState {
export class AudioClip {
id: string = uuid();
audioDataUrl: string;
audioDataUrl?: string;
senderUserId: string;
createdDate: Timestamp = Timestamp.now();