-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add alias support #1590
Comments
👎 |
why are they important, i.e. how does tox work? |
@GrayHatter Usernames are not unique, or restricted in any meaningful way (which is how it should be). Aliases are therefore important to keep track of a contact across username changes, and to protect against impersonation. |
@ProMcTagonist you're correct, but with that you also explain why I don't want alias in toxcore*. Toxcore is meant to transfer (and to a very minor extent) store the information to and from your contacts. Unless you're also planning to send the alias to your friend. It doesn't belong in toxcore. The exception to that being, if someone wants to extend the save format / functions built into toxcore. That would be okay, because then you could add or remove sections at will. |
At the moment, the names are already saved in the .tox file. It just makes sense to add also the aliases. |
no, names are in toxcore because toxcore provides an API to set and transfer names... aliases would be local only, that's the important difference |
I just wanted to make clear that because of that alias support would make sense. |
It sounds like aliases are in TCS domain, maybe depending on the expanded disguised zip save format that's been discussed |
As suggested in IRC by myself as well as @tux3, you could extend the toxcore save format. Then you could call tox_apis to set and retrieve that information in a cross compatible way, without having to implement anything like it in Messenger |
One reason to implement it in core - or at least against core, would be to allow for syncing aliases between devices once multi device support is done. |
At the moment, every client implements an own system how to save aliases for contacts. Because every client should support aliases (they are really important because of how Tox works), it would makes sense to add it to the .tox file.
If you use client X with aliases and export the Tox profile because you'd like to use it on another device, everybody expect that the names in the contact list are the same as before. But that's not the case currently.
Pros:
✅ It will be much easier for client developers to implement alias support
✅ Because of the consistent save system, import/export of a profile will be easier and more comfortable for the users
✅ Global alias support and no client patchwork rug solution
The text was updated successfully, but these errors were encountered: