Update telegram-approval-join submodule and apply patches

This commit is contained in:
Astra 2026-03-09 22:00:20 +00:00
parent 467e57ea8d
commit c1ef926188
2 changed files with 2 additions and 37 deletions

View file

@ -232,7 +232,8 @@ func (bot *Bot) sendCannedResponse(query *api.CallbackQuery, user *ExtendedChatJ
}
reason := utils.EscapeHTML(bot.Config.CannedDeclineResponses[respIdx])
utils.SendMessage(bot.API, user.From.ID, 0, reason)
utils.SendMessage(bot.API, user.From.ID, 0,
fmt.Sprintf("Your join request was declined for the following reason:\n\n%s", reason))
// Extract user info from original message and reformat with the canned response
userID, username, joinReason, declinedBy, declinedAt := utils.GetInfoFromMsg(query.Message.Text)