Compare commits

...

3 commits

Author SHA1 Message Date
c1b4b590b1
Update LibreSSL to v3.8.2
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-11-12 11:26:43 +05:30
d8bbe5ee74
Uprev botapi
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-11-12 11:25:53 +05:30
6f29a8c077
Disable web page previews for inline
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-11-12 11:25:34 +05:30
3 changed files with 4 additions and 3 deletions

View file

@ -14,7 +14,7 @@ RUN apk update && apk add autoconf \
sqlite-static sqlite-static
ENV LIBRESSL_VERSION v3.8.0 ENV LIBRESSL_VERSION v3.8.2
# Compile LibreSSL Portable from source # Compile LibreSSL Portable from source
RUN git clone https://github.com/libressl/portable --depth=1 -b ${LIBRESSL_VERSION} libressl && \ RUN git clone https://github.com/libressl/portable --depth=1 -b ${LIBRESSL_VERSION} libressl && \

View file

@ -11,5 +11,5 @@ bin = @["nim_censor_bot"]
# Dependencies # Dependencies
requires "nim >= 2.0.0" requires "nim >= 2.0.0"
requires "telebot >= 2023.08.20" requires "telebot >= 2023.09.25"
requires "norm >= 2.8.1" requires "norm >= 2.8.1"

View file

@ -213,7 +213,8 @@ proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.gcsafe, async.} =
b.username & "?start=" & b.username & "?start=" &
u.query & u.query &
")", ")",
parseMode: some("Markdown")).some parseMode: some("Markdown"),
disableWebPagePreview: some(true)).some
else: else:
res.title = "Waiting for File Hash" res.title = "Waiting for File Hash"
res.inputMessageContent = InputTextMessageContent( res.inputMessageContent = InputTextMessageContent(