diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-22 23:31:18 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-22 23:31:18 -0700 |
commit | 1d2f1d902569c5db2b928e152dda1ff322bb7fa1 (patch) | |
tree | 53a95b9ffc905dea0f9717c311c34f937eee04ea /app/src/main/kotlin/com/pitchedapps/frost/facebook | |
parent | da5967f87b8a0e9863fb6b82fc5807bae9e62a00 (diff) | |
download | frost-1d2f1d902569c5db2b928e152dda1ff322bb7fa1.tar.gz frost-1d2f1d902569c5db2b928e152dda1ff322bb7fa1.tar.bz2 frost-1d2f1d902569c5db2b928e152dda1ff322bb7fa1.zip |
Add workaround for depth 2 links
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/facebook')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/facebook/FbCookie.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbCookie.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbCookie.kt index 8e40a988..f5f8a8f7 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbCookie.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbCookie.kt @@ -96,9 +96,9 @@ object FbCookie { if (Prefs.prevId != -1L && Prefs.prevId != Prefs.userId) { switchUser(Prefs.prevId) { L.d("Switched from ${Prefs.userId} to ${Prefs.prevId}") - Prefs.prevId = -1L callback() } } else callback() + if (Prefs.prevId != -1L) Prefs.prevId = -1L } }
\ No newline at end of file |