mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 05:29:15 +00:00
🐛 fix message sticker sending
This commit is contained in:
@@ -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