Update telegram-approval-join submodule and apply patches
This commit is contained in:
parent
f753dd5c6b
commit
c78fe1a912
3 changed files with 3 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ RUN apk add --no-cache ca-certificates
|
|||
WORKDIR /opt
|
||||
|
||||
# Copy binary into a standard location
|
||||
COPY --from=builder /bin/telegram-join-approval-nuzzles /usr/local/bin/telegram-approval-join
|
||||
COPY --from=builder /bin/telegram-approval-join /usr/local/bin/telegram-approval-join
|
||||
|
||||
# Create a non-root user and group with specific UID:GID and set ownership
|
||||
RUN addgroup -g 65532 app && \
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ func (bot *Bot) HandleJoinRequest(request *api.ChatJoinRequest) {
|
|||
fmt.Sprintf(AdminJoinRequestMsg, userString, request.From.ID, "(awaiting user response)"))
|
||||
m.ReplyMarkup = utils.NewApprovalKeyboard(request.From.ID)
|
||||
m.ParseMode = api.ModeHTML
|
||||
m.LinkPreviewOptions = api.LinkPreviewOptions{IsDisabled: true}
|
||||
if topic := *bot.Config.AdminChatTopicId; topic != 0 {
|
||||
m.MessageThreadID = topic
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 4e71c09c5a6a3f93bd4f0702b0e6f417b6e9e995
|
||||
Subproject commit 1c48c2a40ccc8d83ef2bff80fd4d5f9b848afab2
|
||||
Loading…
Add table
Add a link
Reference in a new issue