From 4f48af5586d1cfbed7e0ebc9f0a7b1605cc3213e Mon Sep 17 00:00:00 2001 From: Ali Golzar <57574919+aliglzr@users.noreply.github.com> Date: Wed, 27 Aug 2025 15:51:08 +0330 Subject: [PATCH] Update inbound.go Remove duplicate code --- web/service/inbound.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/web/service/inbound.go b/web/service/inbound.go index 19cc855f..4ef5fce3 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -1015,12 +1015,6 @@ func (s *InboundService) adjustTraffics(tx *gorm.DB, dbClientTraffics []*xray.Cl break } } - // Remove "flow": "xtls-rprx-direct" - if _, ok := c["flow"]; ok { - if c["flow"] == "xtls-rprx-direct" { - c["flow"] = "" - } - } // Backfill created_at and updated_at if _, ok := c["created_at"]; !ok { c["created_at"] = time.Now().Unix() * 1000