Fix retrieval of PNI.

This commit is contained in:
Greyson Parrelli committed 2021-11-18 14:38:13 -05:00
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())