-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
some messages gets lost on poor connection #1161
Comments
Hi @readyblue!
aTox should already be resending all undelivered messages in the correct order, but we don't wait for one message to be acknowledged before sending the next, See: aTox/domain/src/main/kotlin/feature/ChatManager.kt Lines 88 to 101 in b3684d8
aTox/atox/src/main/kotlin/tox/EventListenerCallbacks.kt Lines 96 to 103 in b3684d8
aTox already resends all messages that it doesn't get read-receipts for, so if aTox doesn't display "sending" under a message, the Tox client on the other side has sent a read-receipt. Are you sure it's not the other side dropping the messages after receiving them and sending a read-receipt? See: aTox/domain/src/main/kotlin/feature/ChatManager.kt Lines 62 to 83 in b3684d8
aTox/atox/src/main/kotlin/tox/EventListenerCallbacks.kt Lines 88 to 90 in b3684d8
aTox/atox/src/main/kotlin/ui/chat/ChatAdapter.kt Lines 138 to 144 in b3684d8
Thank you for getting in touch! Always nice to hear from people using aTox! |
Hi @robinlinden Robin,
I have noticed lately, that on some cases with poor wifi the messages send from aTox does not get delivered.
While TOX implements read receipts, would be possible to implement mechanism that sends message only after the read receipts gets delivered from previous message? And also display this event in the chat log window so that it will be possible to resend the message without read receipts delivered?
As it is better to even send message twice than loose it.
Thanks for aTox in any way.
The text was updated successfully, but these errors were encountered: