-
Notifications
You must be signed in to change notification settings - Fork 287
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
Proposal: Tox MessageV2 #735
Comments
I'd like to add to your 1st con.
I've proposed multiple times to draft a capabilities packet that every toxcore instance would send to friends each time they connects. This would allows this to be implemented in a better way I guess. I'll draft something fast to see if I can come with a nice solution for this. |
@SkyzohKey old toxcored will not respond to this request. also what is the timeout to wait for an answer? |
@zoff99, then we know that if no response is given to a capabilities packet, it's from an old toxcore. Or some flag system where every client indicates what features it does supports in it's DHT entry à la BitTorrent flags. ;) |
no. if there is not response it could just mean the answer packet did not arrive. |
Can you make this proposal in the website repo? We can discuss design docs there. |
closed in favor of TokTok/website#101 |
working Proof-of-Concept: zoff99/c-toxcore@13212cd...zoff99:66b00ffb271a3a745d078af7d2260d13cd57286d |
Tox MessageV2
proposal to replace current text messages with filetransfers (which are basically multipart messages)
prerequisites:
new filetransfer type:
TOX_FILE_KIND_MESSAGEV2_SEND
sending of a textmessage
filename shall be 'messagev2.txt'
raw data:
new filetransfer type:
TOX_FILE_KIND_MESSAGEV2_ANSWER
since its not certain for the sender that the filetransfer has really completed on the receiver.
this is the replacement for message receipts.
filename shall be 'messagev2ack.txt'
raw data:
new filetransfer type:
TOX_FILE_KIND_MESSAGEV2_ALTER
correct or delete an already sent message
filename shall be 'messagev2alter.txt'
raw data:
add helper functions for sending:
add helper functions for receiving:
pros:
cons:
The text was updated successfully, but these errors were encountered: