almindor / harbour-jTox

Sailfish OS native tox implementation for Jolla
GNU General Public License v3.0
12 stars 4 forks source link

Add support for auto-joining messages #69

Open almindor opened 5 years ago

almindor commented 5 years ago

Toxcore message limit is 1372 bytes specified by the tox_max_message_length () constant function. The documentation mentions auto-joining here but does not explain exactly what the difference between a full-size single message followed by a separate message and a split message would be when joining client-side.

I suspect it's using time-based check to only join messages when the previous message is full-sized and younger than a couple milliseconds to prevent inadvertent joins.

jTox should implement this as well.

almindor commented 5 years ago

Basic splitting support added in commit c3e7e66

I'll decide on weather to support time-based auto-joining later since it's a bit hairy.