summary refs log tree commit diff
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-03-04 22:12:24 +0300
committerGitHub <noreply@github.com>2022-03-04 22:12:24 +0300
commit969d470ee74a1d406e444a8171d7f100791b0a87 (patch)
treeb06c55c7533e09f67a3c7a244c4dc671263719ea
parentInitial work on public read receipts (diff)
downloadserver-969d470ee74a1d406e444a8171d7f100791b0a87.tar.xz
document which field is which
-rw-r--r--util/src/entities/ReadState.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/src/entities/ReadState.ts b/util/src/entities/ReadState.ts
index 885b702e..e6d73105 100644
--- a/util/src/entities/ReadState.ts
+++ b/util/src/entities/ReadState.ts
@@ -31,12 +31,15 @@ export class ReadState extends BaseClass {
 	})
 	user: User;
 
+	// fully read marker
 	@Column({ nullable: true })
-	last_message_id: string;
+	last_message_id: string; 
 	
+	// public read receipt
 	@Column({ nullable: true })
 	public_ack: string;
 
+	// notification cursor / private read receipt
 	@Column({ nullable: true })
 	notifications_cursor: string;