diff libervia.py @ 14:9bf8ed012adc

- Group microblog management, first draft - Bad connexion issue fixed
author Goffi <goffi@goffi.org>
date Thu, 07 Apr 2011 22:27:36 +0200
parents 0110d4e1d816
children 099c05a0dcab
line wrap: on
line diff
--- a/libervia.py	Thu Mar 31 00:01:16 2011 +0200
+++ b/libervia.py	Thu Apr 07 22:27:36 2011 +0200
@@ -76,7 +76,7 @@
 class BridgeCall(LiberviaJsonProxy):
     def __init__(self):
         LiberviaJsonProxy.__init__(self, "/json_api",
-                        ["getContacts", "sendMblog"])
+                        ["getContacts", "sendMblog", "getMblogNodes"])
 
 class BridgeSignals(LiberviaJsonProxy):
     def __init__(self):
@@ -329,7 +329,6 @@
         self.bridge.call('getContacts', self._getContactsCB)
         self.bridge_signals.call('getSignals', self._getSignalsCB)
 
-
     def _getContactsCB(self, contacts_data):
         for contact in contacts_data:
             jid, attributes, groups = contact