PrimalHQ / primal-android-app

Primal's Android app for Nostr.
https://primal.net/downloads
MIT License
121 stars 15 forks source link

The auto complete should give a space when we select an user #148

Open bitcoinuser opened 4 months ago

bitcoinuser commented 4 months ago

Hi,

The auto complete should give a space when we select an user.

https://github.com/PrimalHQ/primal-android-app/assets/1178856/f1588888-7447-42e4-8089-e207a1230c4b

bitcoinuser commented 4 months ago

A problem related to this issue:

I created a note and mentioned some people, but the last one I mentioned doesn't have a space when I continued to write the note. Primal show this as a link but Nostter.app show it not as a link but the profile strings npub.... So Primal shouldn't show this as a link if the user was not really mentioned because the no space between the profile and the rest of the note text.

IMG_20240515_215601

Screenshot_2024-05-15-21-56-13-952_net primal android

AleksandarIlic commented 4 months ago

I checked the note and you have mentioned all 3 users successfully. The problem is with rendering in other apps which are expecting empty space after a mention which is not 100% case all the time. For example, following note nostr:npub1validkey123's app is great. is a valid case without space.