summary refs log tree commit diff
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-04-08 10:53:49 +0300
committerGitHub <noreply@github.com>2022-04-08 10:53:49 +0300
commit68d1b6efd20d9c666e86326c4437f113809a6d82 (patch)
tree77b09b817f30db0e23193bdd1e88809491b26ac2
parentadd joined_by to allow for separate treatment of force-joiners (diff)
downloadserver-68d1b6efd20d9c666e86326c4437f113809a6d82.tar.xz
optional
-rw-r--r--util/src/entities/Member.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts
index ae889a85..fe2d5590 100644
--- a/util/src/entities/Member.ts
+++ b/util/src/entities/Member.ts
@@ -109,8 +109,8 @@ export class Member extends BaseClassWithoutId {
 		onDelete: "DO NOTHING",
 	// do not auto-kick force-joined members just because their joiners left the server
 	}) **/
-	@Column({ nullable: true })
-	joined_by: string;
+	@Column({ nullable: true})
+	joined_by?: string;
 
 	// TODO: add this when we have proper read receipts
 	// @Column({ type: "simple-json" })