plugin group blog: group blog now use PEP to take profit of autosubscribe
This commit is contained in:
parent
3728cc251b
commit
e3391fdd80
1 changed files with 75 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue