Skip to content

Commit

Permalink
Initial support for TDLib 1.8.23
Browse files Browse the repository at this point in the history
- [enh] Display video contect with triangle at the center

- [rename] telega-root-view-topics -> telega-view-grouping to not
  interfere with Telegram Topics naming

- [new] Support for Similar Channels API

- [enh] Many UI improvements. Added checkbox, radiobox UI elements
  Introduced `telega-ins--text-button` and `telega-ins--box-button`
  instead of single `telega-ins--button`

- [add] More i18n strings added

- [enh] Improvements in `telega-describe-XXX' buffers

- [new] `telega-server--callback-extra' bound to extra value when
  callback is called

Version -> 0.8.230
  • Loading branch information
zevlg committed Dec 31, 2023
1 parent c522d36 commit 304705f
Show file tree
Hide file tree
Showing 34 changed files with 2,025 additions and 1,287 deletions.
6 changes: 5 additions & 1 deletion contrib/telega-adblock.el
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ cdr is the URL."

(defun telega-adblock--link-other-channel-p (chat link-spec)
"Return non-nil if link points to another channel."
(when-let ((tme-internal-link (telega-tme-open (cdr link-spec) 'convert)))
(when-let* ((tme-internal-link (telega-tme-open (cdr link-spec) 'convert))
;; NOTE: to avoid errors like:
;; string-prefix-p: Wrong type argument: stringp,
;; (:@type "internalLinkTypeWebApp" ..)
(string-p (stringp tme-internal-link)))
(or (string-prefix-p "tg:join?" tme-internal-link)
(string-prefix-p "tg:msg_url?" tme-internal-link)
(and (string-prefix-p "tg:privatepost?" tme-internal-link)
Expand Down
71 changes: 38 additions & 33 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/telega-ellit.org
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ Use ~telega-story-match-p~ to match a story.
- {{{user-option(telega-chat-group-messages-for, 2)}}}
- {{{user-option(telega-chat-show-deleted-messages-for, 2)}}}
- {{{user-option(telega-chat-use-date-breaks-for, 2)}}}
- {{{user-option(telega-root-view-topics, 2)}}}
- {{{user-option(telega-root-view-grouping-alist, 2)}}}

* Chat Folders

Expand Down Expand Up @@ -665,8 +665,8 @@ Markup syntax table:
| | ~¦¦spoiler¦¦~ | ~¦¦spoiler¦¦~ | **UNSUPPORTED** |
| ~inlined code~ | ~`inlined code`~ | ~~inlined code~~ | ~`inlined code`~ |
| =pre text= | ~```pre text```~ | ~=pre text=~ | **UNSUPPORTED** |
| [[http://www.url][text]] | ~[text](http://www.url)~ | ~[[text][http://www.url]]~ | ~[text](http://www.url)~ |
| [[http://t.me/user][name]] | ~[name](tg://user?id=<USER-ID>)~ | ~[[name][tg://user?id=<USER-ID>]]~ | ~[name](tg://user?id=<USER-ID>)~ |
| [[http://www.url][text]] | ~[text](http://www.url)~ | ~[[http://www.url][text]]~ | ~[text](http://www.url)~ |
| [[http://t.me/user][name]] | ~[name](tg://user?id=<USER-ID>)~ | ~[[tg://user?id=<USER-ID>][name]]~ | ~[name](tg://user?id=<USER-ID>)~ |

There is also "markdown1" syntax to insert multiline code blocks of
specified languge:
Expand Down
Loading

0 comments on commit 304705f

Please sign in to comment.