Closed iphydf closed 2 years ago
filetransfers of new types (TOX_FILE_KINDMESSAGEV2*) shall be autocanceled after 10 minutes, if not completed or canceled
Would this potentially be enough time for a client to flood people in their friends list with incomplete messages, making it impossible for them to send or receive any v2 messages?
Other than that, sending a special message to probe for messagev2 capabilites could help with con number 1.
@naxuroqa we need help in adopting a second client to use it
@zoff99 which client is already using it? trifa?
actually TRIfA and ToxBlinkenwall
both are running on the research toxcore: https://github.com/Zoxcore/c-toxcore/tree/release
Messages will be reworked.
Based on #735.
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: