mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
🐛 fix message sticker sending
This commit is contained in:
1 parent
f38ebe65ed
commit
d8f77c687e
5 files changed
+18
-4
No files matched your search
@@ -127,7 +127,7 @@ export class Message extends BaseClass {
|
||||
mention_channels: Channel[];
|
||||
|
||||
@JoinTable({ name: "message_stickers" })
|
||||
@ManyToMany(() => Sticker)
|
||||
@ManyToMany(() => Sticker, { cascade: true, onDelete: "CASCADE" })
|
||||
sticker_items?: Sticker[];
|
||||
|
||||
@OneToMany(() => Attachment, (attachment: Attachment) => attachment.message, {
|
||||
|
||||
Reference in new issue
Block a user