diff options
author | Allan Wang <me@allanwang.ca> | 2019-08-21 00:33:46 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-08-21 00:33:46 -0700 |
commit | 1a0ec6fc0239d77c2aa771a23ab857f5bd7703d9 (patch) | |
tree | 43e98ce01c640cc28d7ad62457a9bbc0f729edf8 /app | |
parent | 8872d81bccd13ba10b45caebe9d0aec1f487ac25 (diff) | |
download | frost-1a0ec6fc0239d77c2aa771a23ab857f5bd7703d9.tar.gz frost-1a0ec6fc0239d77c2aa771a23ab857f5bd7703d9.tar.bz2 frost-1a0ec6fc0239d77c2aa771a23ab857f5bd7703d9.zip |
Add more query discards, following 8872d81bccd13ba10b45caebe9d0aec1f487ac25
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt index 2b576ae1..2095f8fd 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt @@ -137,7 +137,20 @@ class FbUrlFormatter(url: String) { * * acontext is not required for "friends interested in" notifications */ - val discardableQueries = arrayOf("ref", "refid", "SharedWith", "fbclid", "_ft_") + val discardableQueries = arrayOf( + "ref", + "refid", + "SharedWith", + "fbclid", + "_ft_", + "_tn_", + "_xt_", + "bacr", + "frefs", + "hc_ref", + "loc_ref", + "pn_ref" + ) val converter = listOf( "\\3C " to "%3C", "\\3E " to "%3E", "\\23 " to "%23", "\\25 " to "%25", |