mirror of
https://github.com/InsanusMokrassar/TelegramBotTutorial.git
synced 2026-11-19 09:23:14 +00:00
remove handling of welcome message sending errors
This commit is contained in:
1 parent
2ba35e7b9b
commit
7483988faa
1 file changed
+5
-9
@@ -190,15 +190,11 @@ class WelcomePlugin : Plugin {
|
||||
return@onNewChatMembers
|
||||
}
|
||||
|
||||
try {
|
||||
reply(
|
||||
it,
|
||||
chatSettings.sourceChatId,
|
||||
chatSettings.sourceMessageId
|
||||
)
|
||||
} catch (e: RequestException) {
|
||||
log.e("Unable to send welcome message", e)
|
||||
}
|
||||
reply(
|
||||
it,
|
||||
chatSettings.sourceChatId,
|
||||
chatSettings.sourceMessageId
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user