diff src/plugins/plugin_misc_groupblog.py @ 731:80c1072390f3

plugin microbloging: fixes bad calls
author Goffi <goffi@goffi.org>
date Fri, 13 Dec 2013 17:18:29 +0100
parents ade9997fabfa
children 03744d9ebc13
line wrap: on
line diff
--- a/src/plugins/plugin_misc_groupblog.py	Fri Dec 13 17:15:57 2013 +0100
+++ b/src/plugins/plugin_misc_groupblog.py	Fri Dec 13 17:18:29 2013 +0100
@@ -439,8 +439,8 @@
         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 @@
         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