Mercurial > libervia-backend
diff src/plugins/plugin_xep_0277.py @ 311:0aa6ca6cdbdd
plugin group blog: group blog now use PEP to take profit of autosubscribe
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 12 Apr 2011 20:40:47 +0200 |
parents | 53adec87d1d7 |
children | b0b773f432e5 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py Mon Apr 11 12:47:35 2011 +0200 +++ b/src/plugins/plugin_xep_0277.py Tue Apr 12 20:40:47 2011 +0200 @@ -159,6 +159,9 @@ @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