fix(bot): 🐛 Replies not working if they're from the current channel.
This commit is contained in:
@@ -214,6 +214,7 @@ class Message(models.Model):
|
||||
channel: fields.ForeignKeyRelation["Channel"] = fields.ForeignKeyField(
|
||||
"models.Channel", related_name="messages", on_delete=fields.OnDelete.CASCADE
|
||||
)
|
||||
channel_id: int
|
||||
user = fields.ForeignKeyRelation("models.User", on_delete=fields.OnDelete.CASCADE)
|
||||
user_id: int
|
||||
profile: fields.ForeignKeyRelation["Profile"] = fields.ForeignKeyField(
|
||||
|
||||
Reference in New Issue
Block a user