diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-09-16 01:53:18 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-09-16 01:53:18 -0600 |
commit | 97fee2befcfcbcaa4263e4795680f46bf18d988d (patch) | |
tree | ce6257c7e57deab1ef03d73cecb5da8a1a987d68 /shared/src/commonMain/kotlin/mx | |
parent | 073e78859724a122233f6349592a3e6c10f05ed1 (diff) | |
parent | 6c69520fc2a968cb27d1f751f34a123205936567 (diff) | |
download | etbsa-trackermap-mobile-97fee2befcfcbcaa4263e4795680f46bf18d988d.tar.gz etbsa-trackermap-mobile-97fee2befcfcbcaa4263e4795680f46bf18d988d.tar.bz2 etbsa-trackermap-mobile-97fee2befcfcbcaa4263e4795680f46bf18d988d.zip |
Merged upstream
Diffstat (limited to 'shared/src/commonMain/kotlin/mx')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt index 0faaa72..a63bba2 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt @@ -138,7 +138,7 @@ class SessionController( private suspend fun unregisterFcmToken(token: String) { print("Unregister FCM token: $token\n") try { - userFlow.value?.let { user -> + sessionApi.sessionGet().let { user -> val attributes = user.attributes.toMutableMap() attributes["notificationTokens"]?.content?.let { tokens -> if (tokens.contains("$token,")) { |