🐛 fix channel events + message send

This commit is contained in:
Flam3rboy
2021-09-13 00:17:56 +02:00
parent e32bb24fa8
commit 6b21e107dd
3 changed files with 17 additions and 13 deletions
+1
View File
@@ -61,6 +61,7 @@ export class Channel extends BaseClass {
@ManyToOne(() => Channel)
parent?: Channel;
// only for group dms
@Column({ nullable: true })
@RelationId((channel: Channel) => channel.owner)
owner_id: string;