fiatjaf / njump

mirror of https://git.njump.me/njump
MIT License
106 stars 22 forks source link

iMessage can't parse njump links. #19

Open mplorentz opened 9 months ago

mplorentz commented 9 months ago

Screenshot 2023-11-27 at 4 34 49 PM

I'm not sure that this is a problem with njump.me but when I try to share this link in iMessage it gets split into a link preview and then the path. My guess is that the path is too long? Filing it here in case there is some improvement we can make.

nevent is nice for opening the URL in other apps but perhaps the location of the page could just be the hex ID of the note?

fiatjaf commented 9 months ago

njump supports /hex too. Can you check if that works on iMessage? The deal with nevent is that it has relay or author hints and makes it more likely that njump will find the events.

But if you have just opened the event in njump before sharing it then we will have the event cached and can find it with just the id, so we could probably do something in that case.

mplorentz commented 9 months ago

The /hex style URLs do work with the iMessage previews. Maybe if someone opens a /hex page we should leave the location as /hex?