Cheradenine@sh.itjust.works to Voyager@lemmy.worldEnglish · edit-21 year agonew update 1.16.0message-squaremessage-square6fedilinkarrow-up116arrow-down10file-text
arrow-up116arrow-down1message-squarenew update 1.16.0Cheradenine@sh.itjust.works to Voyager@lemmy.worldEnglish · edit-21 year agomessage-square6fedilinkfile-text
minus-squareDandroid@dandroid.applinkfedilinkEnglisharrow-up2·1 year agoThe ability to open comments/posts in your own instance (and therefore stay in the app) is amazing. How did you do it? Are you rewriting the URL? If so, how are you detecting the base link that you are rewriting from is a lemmy instance?
minus-squareaeharding@lemmy.worldMlinkfedilinkEnglisharrow-up3·1 year agoThanks! Yeah, I intercept the link click event and call resolveObject. To determine if its a lemmy instance I use getFederatedInstances and aggressively cache since its a massive list.
Glad its working for you!
The ability to open comments/posts in your own instance (and therefore stay in the app) is amazing. How did you do it? Are you rewriting the URL? If so, how are you detecting the base link that you are rewriting from is a lemmy instance?
Thanks! Yeah, I intercept the link click event and call resolveObject.
To determine if its a lemmy instance I use getFederatedInstances and aggressively cache since its a massive list.