summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2022-09-20 23:35:50 +0800
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-09-21 06:27:23 +0200
commit344405475aebd6bcad60f29fc4ac0b7122a78fd0 (patch)
treef2039e31b515d6aa3c799c36ac8159da4523fd13 /gnu
parenta7164abcd0d83a9283ae36278ecc2a07dd671b2d (diff)
downloadguix-344405475aebd6bcad60f29fc4ac0b7122a78fd0.tar.gz
gnu: telegram-desktop: Use API ID from Snap builds.
* gnu/packages/telegram.scm (telegram-desktop)[#:configure-flags]: Use API ID
from Telegram's official Snap builds.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/telegram.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index c1136f3e61..6c9869f93e 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -506,10 +506,10 @@ Telegram project, for its use in telegram desktop client.")
            #~(list
               ;; Client applications must provide their own API-ID and API-HASH,
               ;; see also <https://core.telegram.org/api/obtaining_api_id>.
-              ;; In case, that the credentials below fail to work, contact
-              ;;   Raghav Gururajan <rg@raghavgururajan.name>
-              "-DTDESKTOP_API_ID=2791056"
-              "-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
+              ;; Here, we snarf the keys from the official Snaps, which are
+              ;; also stored in <#$source/snap/snapcraft.yaml>.
+              "-DTDESKTOP_API_ID=611335"
+              "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
               ;; Disable WebkitGTK support as it fails to link
               "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
               ;; Use bundled fonts as fallback.