diff options
author | Puyodead1 <puyodead@proton.me> | 2024-04-15 13:09:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 13:09:20 -0400 |
commit | 2028b25902feaf29181fdead0fe150946a636447 (patch) | |
tree | f4014c5b2d82752e41355816374ae51f50229486 /src/util/entities/Message.ts | |
parent | Add nix flake to repo (#1111) (diff) | |
parent | Fix message flags being null (diff) | |
download | server-2028b25902feaf29181fdead0fe150946a636447.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?: { |