Files
mirror-3x-ui/internal
二次元糕手 04be3da8fc fix(clients): sync client_traffics lifecycle when updating a client with no inbounds (#7173)
Updating a client whose last inbound was detached rewrote the clients
record but, in client_traffics, only re-asserted enable in the true
direction. The auto-disable and renewal loops read expiry, quota and the
reset schedule from that row, so they kept acting on the stale values and
never disabled an expired client.

The no-inbound branch now goes through UpdateClientStat, the helper every
attached-inbound update already uses, so the whole enforcement row
follows the edit and the usage counters are left alone.

Fixes #7160
2026-11-24 03:15:27 +03:30
..
2026-10-25 20:08:14 +01:00