fix(tazjin/emacs): Fix tdlib version check if max-version is set

This version interpolated in by Nix in the lines above instead of
being loaded from Elisp, as that would require starting telega inside
of that build (which is a bit messy because of async elisp).

Change-Id: I775844acb6928db76516f06188b19c713f765ab8
This commit is contained in:
Vincent Ambo 2021-12-13 19:54:49 +03:00
parent 2d33005597
commit 5f0a64273c

View file

@ -118,7 +118,7 @@ let
telega-tdlib-min-version)
(and telega-tdlib-max-version
(version< telega-tdlib-max-version
(plist-get telega--options :version))))
tdlib-version)))
(message "Found TDLib version %s, but require %s to %s"
tdlib-version telega-tdlib-min-version telega-tdlib-max-version)
(kill-emacs 1))