summary refs log tree commit diff
path: root/util/src/entities/ReadState.ts
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-03-05 17:49:23 +0300
committerGitHub <noreply@github.com>2022-03-05 17:49:23 +0300
commit0f1251c6221de12b428208e02bdd006158a404b1 (patch)
treeb70e84d88b3ec3f083d02e30492783b0a6c72303 /util/src/entities/ReadState.ts
parentAdded email sanitisation to /users/@me PATCH. Could previously have email as ... (diff)
parentdocument which field is which (diff)
downloadserver-0f1251c6221de12b428208e02bdd006158a404b1.tar.xz
Merge branch 'master' into fix/claim_accounts
Diffstat (limited to '')
-rw-r--r--util/src/entities/ReadState.ts11
1 files changed, 10 insertions, 1 deletions
diff --git a/util/src/entities/ReadState.ts b/util/src/entities/ReadState.ts

index ebef89be..e6d73105 100644 --- a/util/src/entities/ReadState.ts +++ b/util/src/entities/ReadState.ts
@@ -31,8 +31,17 @@ 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; @Column({ nullable: true }) last_pin_timestamp?: Date;