Fix retrieval of PNI.

This commit is contained in:
Greyson Parrelli
2021-11-18 14:38:13 -05:00
parent a5e5a73580
commit 85453ca442

View File

@@ -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())