[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: build: jami-service: account->username always return a fingerprin
From: |
guix-commits |
Subject: |
05/08: build: jami-service: account->username always return a fingerprint. |
Date: |
Fri, 23 Sep 2022 23:58:40 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 21afbf54cd1e6666f5ec400ea365d971de466fab
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Sep 18 21:22:00 2022 -0400
build: jami-service: account->username always return a fingerprint.
This change is motivated by the fact that Account.registeredName is a
volatile
account data, not exported along the account and retrieved from the name
server. Have it always return Account.username instead, so that the result
is
reproducible independent of whether networking is available or not.
* gnu/build/jami-service.scm (account->username): Always return the account
fingerprint. Adjust doc.
(id->username): Likewise.
---
gnu/build/jami-service.scm | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/gnu/build/jami-service.scm b/gnu/build/jami-service.scm
index 0ceb03eb02..a00785f699 100644
--- a/gnu/build/jami-service.scm
+++ b/gnu/build/jami-service.scm
@@ -153,14 +153,11 @@ implementation detail used to identify the accounts in
Jami."
(error message username))))
(define (account->username account)
- "Return USERNAME, the registered username associated with ACCOUNT, else its
-public key fingerprint."
- (or (assoc-ref account "Account.registeredName")
- (assoc-ref account "Account.username")))
+ "Return the public key fingerprint of ACCOUNT."
+ (assoc-ref account "Account.username"))
(define (id->username id)
- "Return USERNAME, the registered username associated with ID, else its
-public key fingerprint, else #f."
+ "Return the public key fingerprint corresponding to account with ID, else
#f."
(account->username (id->account id)))
(define (get-accounts)
- branch master updated (dab3800691 -> fd109c5c09), guix-commits, 2022/09/23
- 02/08: gnu: jami: Update to 20220825.0828.c10f01f., guix-commits, 2022/09/23
- 04/08: gnu: ffmpeg-jami: Update to 5.0.1 and enable tests., guix-commits, 2022/09/23
- 05/08: build: jami-service: account->username always return a fingerprint.,
guix-commits <=
- 01/08: gnu: pjproject: Update to 2.12.1., guix-commits, 2022/09/23
- 03/08: gnu: pjproject-jami: Update to 2.12-0.5e478bb., guix-commits, 2022/09/23
- 07/08: services: jami-service-type: Streamline stop slot., guix-commits, 2022/09/23
- 08/08: tests: jami-provisioning: Fix test derivation name., guix-commits, 2022/09/23
- 06/08: tests: telephony: Add extra packages to %jami-os for debugging., guix-commits, 2022/09/23