Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
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?
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.