remove handling of welcome message sending errors

This commit is contained in:
InsanusMokrassar committed 2022-09-22 15:24:53 +06:00
1 parent 2ba35e7b9b
commit 7483988faa
1 file changed
+5 -9
+5 -9
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
)
}
}