adding some things for tldr/subject line on creation of a chat

This commit is contained in:
Arjun Patel
2022-02-06 14:15:18 -08:00
parent 816d62f75c
commit 8a56a69a52
2 changed files with 22 additions and 2 deletions
+3 -1
View File
@@ -22,11 +22,13 @@ export default class Conversation {
constructor(
_createdByUserId: string,
_name: string,
_initialUsers: string[] = [] as string[]
_initialUsers: string[] = [] as string[],
_tldr?: string
) {
this.name = _name;
this.createdByUserId = _createdByUserId;
this.activeMembers = _initialUsers;
this.tldr = _tldr;
}
}