Mercurial > libervia-backend
view doc/jp/identity.rst @ 3087:a51f7fce1e2c
tools (stream): data modification on SatFile:
- if `data_cb` is used and if it returns a not None value, it is used instead of the data
read from the file. This allows data modification on the fly, useful notably for
encryption
- new `check_size_with_read` argument which check size on `close()` using amount of data
actually read/written instead of file size. This avoid a warning when file is modified
on the fly
- added `closed` attribute
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Dec 2019 12:28:04 +0100 |
parents | 72583524cfd3 |
children | 6cf4bd6972c2 |
line wrap: on
line source
============================= identity: identity management ============================= Identity use several XMPP extensions (like vcards) to retrieve or set informations about an entity. For now it's really basic and only nickname and avatar are managed. get === Retrieve informations about the identity behind an XMPP entity. You only have to specify the jid of the entity, and you'll get (if set) his/her/its nickname and a link to the cached avatar. example -------- Get identity information about an entity:: $ jp identity get somebody@example.org set === Set identity data to the server, using various XMPP extensions. You set the data to change using ``-f KEY VALUE, --field KEY VALUE``, where ``KEY`` can only be ``nick`` at the moment. example ------- Set the nickname of default profile:: $ jp identity set -f nick toto