Changeset 30:4e2de857be01 in ralphm-patches


Ignore:
Timestamp:
Jan 4, 2010, 9:52:09 AM (10 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Add support for subscription identifiers.

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • pubsub-subscription-options.patch

    r29 r30  
    33diff -r 4ae065e9ba2b wokkel/pubsub.py
    44--- a/wokkel/pubsub.py  Sat Jan 02 22:51:43 2010 +0100
    5 +++ b/wokkel/pubsub.py  Sat Jan 02 22:52:17 2010 +0100
     5+++ b/wokkel/pubsub.py  Mon Jan 04 09:50:18 2010 +0100
    66@@ -228,7 +228,7 @@
    77     # Map request verb to parameter handler names
     
    136136             subscription = iq.pubsub.subscription["subscription"]
    137137 
    138 @@ -789,6 +834,69 @@
    139          d.addCallback(cb)
     138@@ -790,6 +835,70 @@
    140139         return d
     140 
    141141 
    142142+    def getOptions(self, service, nodeIdentifier, subscriber, sender=None):
     
    203203+        return d
    204204+
    205  
     205+
    206206 
    207207 class PubSubService(XMPPHandler, IQHandlerMixin):
     208     """
    208209diff -r 4ae065e9ba2b wokkel/test/test_pubsub.py
    209210--- a/wokkel/test/test_pubsub.py        Sat Jan 02 22:51:43 2010 +0100
    210 +++ b/wokkel/test/test_pubsub.py        Sat Jan 02 22:52:17 2010 +0100
     211+++ b/wokkel/test/test_pubsub.py        Mon Jan 04 09:50:18 2010 +0100
    211212@@ -24,6 +24,7 @@
    212213 NS_PUBSUB_EVENT = 'http://jabber.org/protocol/pubsub#event'
  • series

    r27 r30  
    55pubsub-create-configure.patch
    66pubsub-subscription-options.patch
     7pubsub-subid.patch
    78pubsub-item.patch
    89s2s-controller.patch
Note: See TracChangeset for help on using the changeset viewer.