Mercurial > libervia-web
comparison libervia_server/__init__.py @ 427:b5b440e6ea16
server + browser side, getPresenceStatuses has been renamed
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 31 Mar 2014 12:26:20 +0200 |
parents | 39b07289ff42 |
children | bbdbee25123a |
comparison
equal
deleted
inserted
replaced
426:77d8f55fc5f0 | 427:b5b440e6ea16 |
---|---|
337 profile = ISATSession(self.session).profile | 337 profile = ISATSession(self.session).profile |
338 d = self.asyncBridgeCall("getGroupBlogComments", service, node, profile) | 338 d = self.asyncBridgeCall("getGroupBlogComments", service, node, profile) |
339 return d | 339 return d |
340 | 340 |
341 | 341 |
342 def jsonrpc_getPresenceStatus(self): | 342 def jsonrpc_getPresenceStatuses(self): |
343 """Get Presence information for connected contacts""" | 343 """Get Presence information for connected contacts""" |
344 profile = ISATSession(self.session).profile | 344 profile = ISATSession(self.session).profile |
345 return self.sat_host.bridge.getPresenceStatus(profile) | 345 return self.sat_host.bridge.getPresenceStatuses(profile) |
346 | 346 |
347 def jsonrpc_getHistory(self, from_jid, to_jid, size, between): | 347 def jsonrpc_getHistory(self, from_jid, to_jid, size, between): |
348 """Return history for the from_jid/to_jid couple""" | 348 """Return history for the from_jid/to_jid couple""" |
349 sat_session = ISATSession(self.session) | 349 sat_session = ISATSession(self.session) |
350 profile = sat_session.profile | 350 profile = sat_session.profile |