diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-15 00:03:35 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-15 00:03:35 +0200 |
commit | 88425f87ecdc5e0d8e64a8e0ce44fea19daf4652 (patch) | |
tree | c81daa5711491f74d6b0a51767640132ee0a009d /util/src/entities/ReadState.ts | |
parent | :bug: fix sticker packs (diff) | |
download | server-88425f87ecdc5e0d8e64a8e0ce44fea19daf4652.tar.xz |
:art: reformat
Diffstat (limited to 'util/src/entities/ReadState.ts')
-rw-r--r-- | util/src/entities/ReadState.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/util/src/entities/ReadState.ts b/util/src/entities/ReadState.ts index 89480e83..ebef89be 100644 --- a/util/src/entities/ReadState.ts +++ b/util/src/entities/ReadState.ts @@ -32,13 +32,8 @@ export class ReadState extends BaseClass { user: User; @Column({ nullable: true }) - @RelationId((read_state: ReadState) => read_state.last_message) last_message_id: string; - @JoinColumn({ name: "last_message_id" }) - @ManyToOne(() => Message, { nullable: true }) - last_message?: Message; - @Column({ nullable: true }) last_pin_timestamp?: Date; |