hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
250 stars 20 forks source link

Add /alias command #182

Closed TealG closed 6 years ago

TealG commented 6 years ago

Add /alias command to set local alias for users & groups in contact list Resolves #83

TealG commented 6 years ago

One issue I discovered with this that still needs to be fixed is that the /alias command does not trigger saving the user config to disk.

hannesm commented 6 years ago

thanks, sorry for coming back so late to this.

I'll merge, but still wondering what the semantics of names should be:

maybe: if an alias is present, this is used, otherwise the name from the roster, otherwise the jid!? there's also missing functionality (a command) to set (and unset) the name in the roster.