summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-06 18:59:14 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-06 18:59:14 +1100
commitfa7cb8b8bfbb2e8b216be4cb5b49cf0b52d74fd1 (patch)
treee4af2a1a27e7ec5dcc1386c8a40fab5eb44e27af /util/src
parentMerge branch 'master' into slowcord (diff)
parentFixed npm run tsnode throwing error about ES modules for node-fetch. Probably... (diff)
downloadserver-fa7cb8b8bfbb2e8b216be4cb5b49cf0b52d74fd1.tar.xz
Merge branch 'master' into slowcord
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;