Comments (2)
With all due respect, there may be a reason why it might be a good idea to keep message delivery in order, like:
from atox.
Hi @readyblue!
While TOX implements read receipts, would be possible to implement mechanism that sends message only after the read receipts gets delivered from previous message?
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, so I guess in theory a message could get lost a second time, and then we'd end up with out-of-order problems. If you feel like having a look at making a PR for this, it'd be very welcome. :) After speaking to a friend, this shouldn't be able to happen either. Have you had messages delivered out-of-order from aTox to aTox, uTox, Toxic, or qTox?
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
And also display this event in the chat log window so that it will be possible to resend the message without read receipts delivered?
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!
from atox.
Related Issues (20)
- Cant build the project HOT 4
- Add support for bluetooth headsets
- Can you add these functions?
- [Bug] aTox cannot be included in backup HOT 10
- run ./scripts/build-i686-linux-android -j$(nproc) release error HOT 1
- Add Serbian localization? HOT 3
- Quitting has a bad UX HOT 1
- Don't show a dark dot when a friend is offline HOT 1
- Set up adaptive icon support
- Encrypt/Custom Tox ID?
- build problems
- F-Droid Build is Outdated HOT 2
- Change allowBackup to true HOT 5
- CVE-2023-5217 - update libtox4j to 0.2.19 HOT 1
- Idea: add a "beta" app to the play store HOT 1
- Voice call audio quality
- Crash adding contact HOT 1
- request: after adding contact navigate to conversation screen HOT 1
- "tox:ID" URL scheme always opens add contact screen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atox.