Fixed reply message not getting quoted
This commit is contained in:
parent
b766d0c52c
commit
8c478072c6
@ -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"])
|
||||||
|
Reference in New Issue
Block a user