Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Check again for quoted messages after a short timeout #651
This addresses the problem of "Original message not found" that can manifest itself in bulk loading of messages (e.g. from the public chat server), resulting in a quoted message not being saved to the database when the quoting message is looking it up.
I went with the simplest solution: request the missing quoted message again after a short delay (doing it a few times with exponential backoff) and updating the quoting message accordingly.