Fixed reply message not getting quoted

This commit is contained in:
Profitroll 2023-02-17 23:18:19 +01:00
parent b766d0c52c
commit 8c478072c6

View File

@ -31,6 +31,10 @@ class PosterClient(Client):
raise SubmissionUnavailableError() raise SubmissionUnavailableError()
else: else:
filepath = path.join(configGet("data", "locations"), "submissions", db_entry["temp"]["uuid"], db_entry["temp"]["file"]) filepath = path.join(configGet("data", "locations"), "submissions", db_entry["temp"]["uuid"], db_entry["temp"]["file"])
try:
submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"])
except:
pass
else: else:
try: try:
submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"]) submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"])