Changeset 54:03ec57713c90 in ralphm-patches for roster_item.patch
- Timestamp:
- Nov 2, 2011, 9:36:54 AM (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roster_item.patch
r50 r54 1 diff -r c103529d9f46 wokkel/im.py 2 --- a/wokkel/im.py Wed May 25 20:24:36 2011 +0200 3 +++ b/wokkel/im.py Wed May 25 20:26:47 2011 +0200 1 Clean up of RosterItem and RosterClientProtocol. 2 3 `RosterItem`: 4 * Renamed attributes `jid` and `ask` to `entity` and 5 `pendingOut` respectively. 6 * Can represent roster items to be removed or that have been removed. 7 * Now has `fromElement` and `toElement` methods. 8 9 `RosterClientProtocol`: 10 11 * Roster returned from `getRoster` is now indexed by `JID`s (instead of 12 the `unicode` representation of the JID. 13 * `onRosterSet` and `onRosterRemove` can raise `RosterPushIgnored` to 14 return a `service-unavailable` stanza error. 15 16 diff -r 2e2717d3db8f wokkel/im.py 17 --- a/wokkel/im.py Wed Oct 05 09:15:44 2011 +0200 18 +++ b/wokkel/im.py Wed Oct 05 09:29:18 2011 +0200 4 19 @@ -7,21 +7,25 @@ 5 20 XMPP IM protocol support. … … 243 258 @type entity: L{jid.JID} 244 259 """ 245 diff -r c103529d9f46wokkel/test/test_im.py246 --- a/wokkel/test/test_im.py Wed May 25 20:24:362011 +0200247 +++ b/wokkel/test/test_im.py Wed May 25 20:26:472011 +0200260 diff -r 2e2717d3db8f wokkel/test/test_im.py 261 --- a/wokkel/test/test_im.py Wed Oct 05 09:15:44 2011 +0200 262 +++ b/wokkel/test/test_im.py Wed Oct 05 09:29:18 2011 +0200 248 263 @@ -7,13 +7,14 @@ 249 264
Note: See TracChangeset
for help on using the changeset viewer.