mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3713] Trojan: enable flag not propagated to clientStats when updating client via API #2499
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2499
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @fslandi on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3713
Describe the bug
When updating Trojan clients via the API (POST update client) with "enable": true, the flag is applied in settings but does not update clientStats.
Screenshots attached show that after the API call, settings.enable changes but clientStats remains unchanged.
For VLESS clients, the same API call updates both settings.enable and clientStats correctly.
This seems specific to Trojan protocol clients.
How to repeat the problem?
Expected action
No response
Received action
No response
3x-ui Version
2.8.8
Xray-core Version
2
Checklist