What does an AP compatible page need to do for Tusky to open links to it within the app? #3705
-
Hi, I've been playing with my own AP compatible server to post messages into the fediverse. So far, the basic functionality seems to be working fine but I noticed that when I post a link to any of the messages from the accounts within tusky, they don't open as a message on the app, but get the option to open them with a browser. What's my page missing? After looking through the issues, my understanding is that the app performs a search against my logged in instance for that URL and, if it returns something, it opens in-app. On my case, pasting the URL on Tusky's search surfaces the message, but clicking on a link to the same message does not open in-app. See examples: This is a message from one of my servers: Searching that URL on Tusky returns the message, see screenshot: Now, if I post the same url on a message and then click on it, it does not open. What's missing? You can test by clicking on that same URL from the following post: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's no standard for a URL that Tusky should definitely open, so Tusky checks the URL against some regexps. The list is in . |
Beta Was this translation helpful? Give feedback.
There's no standard for a URL that Tusky should definitely open, so Tusky checks the URL against some regexps.
The list is in
Tusky/app/src/main/java/com/keylesspalace/tusky/util/LinkHelper.kt
Line 287 in 01b3cb3