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-squareaͮͫͨ͋ͤͣ͌̏lex͒̃ͪ̃ͨ͛́͂ͪ͗̏ͫͮ̂@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.
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.