-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for sender_chat (telegram) #1677
Conversation
bridge/telegram/handlers.go
Outdated
@@ -110,6 +110,23 @@ func (b *Btelegram) handleUsername(rmsg *config.Message, message *tgbotapi.Messa | |||
} | |||
} | |||
|
|||
if message.SenderChat != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
@@ -110,6 +110,23 @@ func (b *Btelegram) handleUsername(rmsg *config.Message, message *tgbotapi.Messa | |||
} | |||
} | |||
|
|||
if message.SenderChat != nil { //nolint:nestif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
Add `debuglevel=1` in telegram config to increase debug
Code Climate has analyzed commit cd8aeca and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Fixes #1654
https://core.telegram.org/bots/api#december-7-2021