mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-06 15:53:32 +01:00
Fix retrieval of PNI.
This commit is contained in:
1 parent
a5e5a73580
commit
85453ca442
1 file changed
+1
-1
@@ -52,7 +52,7 @@ internal class AccountValues internal constructor(store: KeyValueStore) : Signal
|
||||
|
||||
/** The local user's [PNI]. */
|
||||
val pni: PNI?
|
||||
get() = PNI.parseOrNull(getString(KEY_ACI, null))
|
||||
get() = PNI.parseOrNull(getString(KEY_PNI, null))
|
||||
|
||||
fun setPni(pni: PNI) {
|
||||
putString(KEY_PNI, pni.toString())
|
||||
|
||||
Reference in new issue
Block a user