[GIT-40] Prevent automatic disabling autoping feature #41
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/autoping-autodisable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Addresses #40 (symptom mitigation; root cause investigation pending)
Problem
The connection_supports(XMPP_FEATURE_PING) check returns FALSE for some users under certain unknown conditions, despite server support, triggering prefs_set_autoping(0) and an early return. This disables autoping unexpectedly, impacting connection monitoring. User reports confirm the issue is accurate but hard to reproduce consistently.
Changes
Remove autodisable (prefs_set_autoping(0)) and early return to preserve autoping functionality.
Add per-check warning log without aborting.
Introduce autoping_error_shown flag for one-time error display via cons_show_error.
On first error, print debug features with connection_debug_print_features().
Add TODO comment on repeated check necessity (consider future caching).
Impact
Restores reliable autoping for affected users while enabling monitoring of false negatives in logs. No user config changes required.
Testing
fix/autoping-autodisableto Prevent automatic disabling autoping featurea689973674tob79bafbd8fb79bafbd8fto3738be4af1Prevent automatic disabling autoping featureto [GIT-40] Prevent automatic disabling autoping feature