diff src/plugins/plugin_xep_0060.py @ 1865:fc6eeacf31bc

plugin XEP-0277: service can be None in mbGet, resulting in a request on default pubsub service of profile (i.e. profile's PEP)
author Goffi <goffi@goffi.org>
date Tue, 01 Mar 2016 01:47:32 +0100
parents 3c0bb714a80b
children 29564cec913f
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0060.py	Mon Feb 29 16:52:51 2016 +0100
+++ b/src/plugins/plugin_xep_0060.py	Tue Mar 01 01:47:32 2016 +0100
@@ -270,7 +270,7 @@
     def getItems(self, service, node, max_items=None, item_ids=None, sub_id=None, rsm_request=None, extra=None, profile_key=C.PROF_KEY_NONE):
         """Retrieve pubsub items from a node.
 
-        @param service (JID): pubsub service.
+        @param service (JID, None): pubsub service.
         @param node (str): node id.
         @param max_items (int): optional limit on the number of retrieved items.
         @param item_ids (list[str]): identifiers of the items to be retrieved (can't be used with rsm_request).