plugin group blog: group blog now use PEP to take profit of autosubscribe

This commit is contained in:
Goffi 2011-04-12 20:40:47 +02:00
commit e3391fdd80

View file

@ -159,6 +159,9 @@ class XEP_0277():
@param profile_key: profile key"""
_jid, xmlstream = self.host.getJidNStream(profile_key)
if not _jid:
error(_("Can't find profile's jid"))
return
_options = {OPT_ACCESS_MODEL:access, OPT_PERSIST_ITEMS:1, OPT_MAX_ITEMS:-1}
def cb(result):
#Node is created with right permission