aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-29 21:54:15 -0800
committerGitHub <noreply@github.com>2019-12-29 21:54:15 -0800
commit86df98094d202701690d597024558ccaa6d41abd (patch)
tree41bd58c12f5fe6b1b7df52b0bb1d42613441c107 /app/src/main/kotlin/com/pitchedapps/frost/utils
parent692c1233cd3dba0d2df06dc65ebef1fc1ecc1cad (diff)
downloadfrost-86df98094d202701690d597024558ccaa6d41abd.tar.gz
frost-86df98094d202701690d597024558ccaa6d41abd.tar.bz2
frost-86df98094d202701690d597024558ccaa6d41abd.zip
Fix townhall loading (#1603)
* Fix townhall loading * Clean up logs * Remove extra imports * Optimize imports * Fix query test
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
index 8c5f6db6..2060cf12 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
@@ -352,7 +352,11 @@ val dependentSegments = arrayOf(
* mid* or id* for newer threads, which can be launched in new windows
* or a hash for old threads, which must be loaded on old threads
*/
- "messages/read/?tid=id", "messages/read/?tid=mid"
+ "messages/read/?tid=id", "messages/read/?tid=mid",
+ // For some reason townhall doesn't load independently
+ // This will allow it to load, but going back unfortunately messes up the menu client
+ // See https://github.com/AllanWang/Frost-for-Facebook/issues/1593
+ "/townhall/"
)
inline val String?.isExplicitIntent