lilyp pushed a commit to branch master
in repository guix.

commit 344405475aebd6bcad60f29fc4ac0b7122a78fd0
Author: Hilton Chain <[email protected]>
AuthorDate: Tue Sep 20 23:35:50 2022 +0800

    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 <[email protected]>
---
 gnu/packages/telegram.scm | 8 ++++----
 1 file 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 <[email protected]>
-              "-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.

Reply via email to