diff options
author | Allan Wang <me@allanwang.ca> | 2018-11-06 22:35:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 22:35:58 -0500 |
commit | da63f00eb50a8c413ee55652eff8a4fcc5f83e5a (patch) | |
tree | 33b2eb5da6963ba267877ae836ecba0dcef344ca /app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt | |
parent | bffa6474f36b990c1de0eaeb8df2cf80d094d3fa (diff) | |
download | frost-da63f00eb50a8c413ee55652eff8a4fcc5f83e5a.tar.gz frost-da63f00eb50a8c413ee55652eff8a4fcc5f83e5a.tar.bz2 frost-da63f00eb50a8c413ee55652eff8a4fcc5f83e5a.zip |
Fix/duplicate back (#1177)
* Merge potential fix for text zoom
* Actually fix the duplicate back
* Prepare fixing dependent notifications
* Add notification fallback url
* Add back acontext to url, fixes #1137
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt | 7 |
1 files changed, 6 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 add35154..62675df6 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbUrlFormatter.kt @@ -100,7 +100,12 @@ class FbUrlFormatter(url: String) { VIDEO_REDIRECT ) - val discardableQueries = arrayOf("ref", "refid", "acontext", "SharedWith") + /** + * Queries that are not necessary for independent links + * + * acontext is not required for "friends interested in" notifications + */ + val discardableQueries = arrayOf("ref", "refid", "SharedWith") val converter = listOf( "\\3C " to "%3C", "\\3E " to "%3E", "\\23 " to "%23", "\\25 " to "%25", |