2020-12-09 17:09:19 +00:00
|
|
|
|
2021-01-30 18:01:38 +00:00
|
|
|
XEP-0054: vcard-temp
|
|
|
|
====================
|
2020-12-09 17:09:19 +00:00
|
|
|
|
|
|
|
.. module:: slixmpp.plugins.xep_0054
|
|
|
|
|
|
|
|
.. autoclass:: XEP_0054
|
|
|
|
:members:
|
|
|
|
:exclude-members: session_bind, plugin_init, plugin_end
|
|
|
|
|
2021-02-14 10:47:20 +00:00
|
|
|
Internal API methods
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
This plugin maintains by default an in-memory cache of the received
|
|
|
|
VCards.
|
|
|
|
|
|
|
|
.. glossary::
|
|
|
|
|
|
|
|
set_vcard
|
|
|
|
- **jid**: :class:`~.JID` of whom to set the vcard
|
|
|
|
- **node**: unused
|
|
|
|
- **ifrom**: unused
|
|
|
|
- **args**: :class:`~.VCardTemp` object to store for this JID.
|
|
|
|
|
|
|
|
Set a VCard for a JID.
|
|
|
|
|
|
|
|
get_vcard
|
|
|
|
- **jid**: :class:`~.JID` of whom to set the vcard
|
|
|
|
- **node**: unused
|
|
|
|
- **ifrom**: :class:`~.JID` the request is coming from
|
|
|
|
- **args**: unused
|
|
|
|
- **returns**: :class:`~.VCardTemp` object for this JID or None.
|
|
|
|
|
|
|
|
Get a stored VCard for a JID.
|
|
|
|
|
|
|
|
del_vcard
|
|
|
|
- **jid**: :class:`~.JID` of whom to set the vcard
|
|
|
|
- **node**: unused
|
|
|
|
- **ifrom**: unused
|
|
|
|
- **args**: unused
|
|
|
|
|
|
|
|
Delete a stored VCard for a JID.
|
2020-12-09 17:09:19 +00:00
|
|
|
|
|
|
|
Stanza elements
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. automodule:: slixmpp.plugins.xep_0054.stanza
|
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
|