remove handling of welcome message sending errors

This commit is contained in:
InsanusMokrassar 2022-09-22 15:24:53 +06:00
parent 2ba35e7b9b
commit 7483988faa

View File

@ -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
)
}
}