-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Consider this scenario:
- XMPP gets implicitly disconnected, but the client is still not aware of it.
- Bot receives a Telegram message.
- Bot tries to send it to XMPP and realizes it's disconnected. XMPP throws an error.
- Bot reconnects to XMPP and everything is alright, except that the message it tried to send at p. 3 is now lost.
Bot should buffer the message if an error has been occured on send and resend the message after the reconnect.