-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ENS names in share and parse urls #11403
Comments
@MishkaRogachev it might be better if we just share chat keys for ens name users as a temp solution, as we are going to completely rewrite and re architect how ens works in the future. Not worth spending time on this now IMHO |
I propose postponing this item until at least the 0.19 release |
@MishkaRogachev how far along were you? |
@jrainville @John-44 I've been working on it for a few days now, but I don't really like the result. The thing is that the necessary functionality is implemented in ENSService here, and it's very messy to dump the whole api into messenger. Besides, there is already ENSResolver, which partially duplicates the functionality of ENSService. What I'm trying now is to refactor the common code to add the function of getting the public key by name. But it's not working (melting smile). On other hand i would prefer to have some common tool to call other services with messenger |
@MishkaRogachev alright then, let's drop it and focus on it another time then |
@MishkaRogachev everything to do with our current ENS integration needs to be thrown away and we need to start again, because there is soo soo much missing and soo much that needs to be done differently. We are going to do this at some point next year, hence why I don't think we should invest any more than the absolute minimum amount in the current ENS functionality as we know we are going to be throwing it away. The once thing we need to make sure is working, is that when a user who is using and ENS name shares a link to their profile, that link includes their status chat key. As long as this works we are good for now. |
@MishkaRogachev can you confirm that when a user with an ENS name shares their URL, it uses the "normal" contact link and not the ens link? |
It depends on what endpoint the client is using, if it is |
What I mean is that when going in the Profile Modal, the URL should always be the "normal" Share URL, ie something like this: If it needs a "patch", then yes, 100% do it in Nim or QML so that we only call the "normal" share URL functions |
I see that we're only using |
Continue #10851
Description
Add api function and
parseUserURLWithENS
andshareUserURLWithENS
implementation to messenger_share_urls.go. Parsing shared url with ens name should ask mailservers for a contact by ENS nameRight now, we support passing a chat key, but we need to support an ENS name as well as per vacp2p/rfc#602 (comment)
Acceptance Criteria
The text was updated successfully, but these errors were encountered: