Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate quick message bursts from Telegram properly #46

Closed
ForNeVeR opened this issue Jul 7, 2019 · 1 comment
Closed

Translate quick message bursts from Telegram properly #46

ForNeVeR opened this issue Jul 7, 2019 · 1 comment
Assignees

Comments

@ForNeVeR
Copy link
Member

ForNeVeR commented Jul 7, 2019

This is the most critical part of #24. After sending the message from Telegram to XMPP, bot should first wait for the message to be delivered back, and only after that send a new one.

@ForNeVeR ForNeVeR self-assigned this Jul 7, 2019
@ForNeVeR
Copy link
Member Author

This is supported since 1.0.0. See this code:

let! deliveryInfo = sendRoomMessage client lifetime settings.MessageTimeout message
logger.Information("Message {MessageId} has been sent; awaiting delivery", deliveryInfo.MessageId)
do! awaitMessageDelivery deliveryInfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant