Mercurial > libervia-backend
view doc/libervia-cli/identity.rst @ 3840:5b192a5eb72d
plugin XEP-0277: post repeating implementation:
Repeating a post as specified at https://xmpp.org/extensions/xep-0277.html#repeat is now
implemented. On sending, one can either use the new `repeat` method (or the bridge
`mbRepeat` one from frontends) to repeat any XEP-0277 item, or use the field `repeated` in
microblog data's `extra`. This field must mainly contains the `by` field with JID of
repeater (the "author*" field being filled with original author metadata), and the `uri`
field with link (usually `xmpp:` one) to repeated item.
When receiving a repeated item, the same `repeated` field is filled.
rel 370
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 13 Jul 2022 12:15:04 +0200 |
parents | c80a0f864b5d |
children |
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 data about the avatar. When available, cached values are returned by defaut. If you want to ignore the cache, use the ``--no-cache`` option (of course this can result in more network requests). example -------- Get identity information about an entity:: $ li identity get somebody@example.org set === Set identity data to the server, using various XMPP extensions. So far, you can only change the nickname of an entity using ``-n, --nick`` or or more times example ------- Set 2 nicknames for default profile:: $ li identity set -n toto -n titi