mirror of
https://github.com/System-End/nephthys.git
synced 2026-04-19 18:35:14 +00:00
fix unclosing ticket bug
This commit is contained in:
parent
6373be14c1
commit
d2bcdacc31
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ async def on_message(event: Dict[str, Any], client: AsyncWebClient):
|
|||
where={"msgTs": event["thread_ts"]},
|
||||
include={"openedBy": True, "tagsOnTickets": True},
|
||||
)
|
||||
if not ticket:
|
||||
if not ticket or ticket.status == TicketStatus.CLOSED:
|
||||
return
|
||||
first_word = text.split()[0].lower()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue