Send a long chat message as numbered parts
A message that is too long for one packet now goes out as up to message_parts_max parts (default 3, 1 turns it off), each ending with its part number: [1/3], [2/3], [3/3]. Each part, with its part number, fits in the byte limit of the conversation (130 for a channel, 150 for a direct message). A cut goes at a space, and a word with no space to cut at is cut between characters, never inside an emoji sequence or after a combining accent. Channel parts wait the transmit cooldown between them, so that the floods do not go out as a burst. A direct part waits for the acknowledgement of the part before it, or the end of its wait. An unacknowledged part still lets the rest go out, and ^R retries each one. A hard failure stops the rest and puts their text back in the compose line. The byte gauge shows the number of parts and the bytes of the last part. Rooms are not changed. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
488db7f278
commit
f7f0036d0f
7 files changed
+558
-47
No files matched your search
@@ -1734,6 +1734,7 @@ flood_advert_cooldown_s 60 60
|
||||
weekly_flood_advert off off Flood an advert after a week without one
|
||||
advert_quiet_s 30 30 Silence to wait for before the weekly advert
|
||||
direct_message_soft_retries 0 0 Times to resend a message that gets no reply
|
||||
message_parts_max 3 3 Send a long message as this many parts at most
|
||||
tx_opt_min 18 18 Weakest power it will try
|
||||
tx_opt_max 28 28 Strongest power it will try
|
||||
tx_snr_tolerance_db 1 1 Signals this close are a tie, so less power wins
|
||||
|
||||
Reference in new issue
Block a user