Ignore:
Timestamp:
May 9, 2012, 2:24:28 PM (8 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Add support for adding and updating roster items.

Roster items can be added or updated by sending a roster set request using the
new wokkel.xmppim.RosterClientProtocol.setItem. It takes a RosterItem as
the only argument. Note that changes in presence subscriptions for the contact
need to be done using presence as provided by
wokkel.xmppim.PresenceProtocol.

Author: ralphm.
Fixes: #56.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/xmppim.rst

    r173 r174  
    2323
    2424.. literalinclude:: listings/xmppim/roster_client_push.py
     25   :language: python
     26   :linenos:
     27
     28Set the name of a contact
     29^^^^^^^^^^^^^^^^^^^^^^^^^
     30
     31.. literalinclude:: listings/xmppim/roster_client_set_name.py
    2532   :language: python
    2633   :linenos:
Note: See TracChangeset for help on using the changeset viewer.