diff options
author | Puyodead1 <puyodead@proton.me> | 2024-04-14 14:02:22 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2024-04-14 14:02:22 -0400 |
commit | ee59ee7e1cf4c5b9ae749745471a1f98053c3c58 (patch) | |
tree | f4014c5b2d82752e41355816374ae51f50229486 /src/util/entities/Message.ts | |
parent | Add nix flake to repo (#1111) (diff) | |
download | server-ee59ee7e1cf4c5b9ae749745471a1f98053c3c58.tar.xz |
Fix message flags being null
Diffstat (limited to 'src/util/entities/Message.ts')
-rw-r--r-- | src/util/entities/Message.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts index b519099a..4a9cff4a 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts @@ -192,8 +192,8 @@ export class Message extends BaseClass { party_id: string; }; - @Column({ nullable: true }) - flags?: number; + @Column({ default: 0 }) + flags: number; @Column({ type: "simple-json", nullable: true }) message_reference?: { |