mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #4617] [CLOSED] Fix Telegram bot client lookup for multi-node inbounds #5727
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#5727
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/4617
Author: @Serega71RUS
Created: 5/28/2026
Status: ❌ Closed
Base:
main← Head:fix/tg-bot-multinode📝 Commits (3)
c64cdbbFix Telegram bot client lookup for multi-node inbounds11bd082Fix Telegram bot client lookup without traffic rowsc14cda9Merge branch 'main' into fix/tg-bot-multinode📊 Changes
2 files changed (+303 additions, -26 deletions)
View changed files
📝
web/service/inbound.go(+186 -26)➕
web/service/tgbot_client_traffic_test.go(+117 -0)📄 Description
Summary
Fix Telegram bot client lookup for multi-node synchronized inbounds.
Previously, Telegram bot could not find client configurations attached to node-synchronized inbounds and returned:
Your configuration is not found!This change updates Telegram client lookup logic to correctly process synchronized multi-node inbound clients.
Why
In multi-node setups, Telegram bot lookup logic searched inbound client data incorrectly and failed to collect synchronized clients from sub-nodes.
As a result:
/startreturnedYour configuration is not found!This fix allows Telegram bot to properly resolve clients attached to synchronized node inbounds.
Type of change
Areas affected
How was this tested?
Tested on a real multi-node environment:
/startBefore fix:
Your configuration is not found!After fix:
Additional verification:
Added automated test coverage for Telegram bot client lookup logic.
Screenshots / recordings
N/A
Breaking changes
None
Checklist
go build ./...and the test suite pass locally.npm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.