plugin microbloging: fixes bad calls
This commit is contained in:
parent
ce3e28d588
commit
b9cf5049b5
1 changed files with 4 additions and 4 deletions
|
|
@ -439,8 +439,8 @@ class GroupBlog(object):
|
|||
if publishers_type == 'JID':
|
||||
publishers_jids = [jid.JID(publisher) for publisher in publishers]
|
||||
else:
|
||||
publishers_jid = publishers
|
||||
return getMassiveLastGroupBlogs(publishers_type, publishers_jid, max_items, profile_key)
|
||||
publishers_jids = publishers
|
||||
return self.getMassiveLastGroupBlogs(publishers_type, publishers_jids, max_items, profile_key)
|
||||
|
||||
def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@NONE@'):
|
||||
"""Get the last published microblogs for a list of groups or jids
|
||||
|
|
@ -514,8 +514,8 @@ class GroupBlog(object):
|
|||
if publishers_type == 'JID':
|
||||
publishers_jids = [jid.JID(publisher) for publisher in publishers]
|
||||
else:
|
||||
publishers_jid = publishers
|
||||
return massiveSubscribeGroupBlogs(publishers_type, publishers_jid, profile_key)
|
||||
publishers_jids = publishers
|
||||
return self.massiveSubscribeGroupBlogs(publishers_type, publishers_jids, profile_key)
|
||||
|
||||
def massiveSubscribeGroupBlogs(self, publishers_type, publishers, profile_key='@NONE@'):
|
||||
"""Subscribe microblogs for a list of groups or jids
|
||||
|
|
|
|||
Loading…
Reference in a new issue