fix(#1223): number DM attempts from 1, and stop claiming a retry that is not coming
Ben read "Retry 4/5" on a failed DM and concluded the fifth attempt never
ran. The log from OB-3UJZR proves it did: at 17:38:38 the client sent
CMD_RESET_PATH and then attempt 4, so the flood fallback fired exactly as
ruled. The label was wrong, not the loop.
`retryCount` is a zero-based attempt index and `maxMessageRetries` is a
count of attempts, so the chat label printed one against the other. The
fifth and final attempt of five read as "4/5", which reads as a sixth
attempt still to come.
The AckHash log line had the same fault twice over: it printed the raw
index, and it said "retrying" on the final timeout, when the message is
in fact being marked failed. Both now read from 1 and say which it is.
No l10n change: `chat_retryCount` keeps its "Retry {current}/{max}" form
in all 18 locales and only the number passed in changes.
fix/1238-gitattributes-eol
parent
0c0119ed2a
commit
ed358cd9d9
Loading…
Reference in new issue