Mercurial > libervia-web
diff libervia.tac @ 57:e552a67b933d
Contact update + add dedication in About dialog
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 29 May 2011 16:07:46 +0200 |
parents | d5266c41ca24 |
children | d0fa4e96a5e4 |
line wrap: on
line diff
--- a/libervia.tac Sun May 29 15:25:46 2011 +0200 +++ b/libervia.tac Sun May 29 16:07:46 2011 +0200 @@ -153,6 +153,11 @@ profile = ISATSession(self.session).profile self.sat_host.bridge.delContact(entity, profile) + def jsonrpc_updateContact(self, entity, name, groups): + """Update contact's roster item""" + profile = ISATSession(self.session).profile + self.sat_host.bridge.updateContact(entity, name, groups, profile) + def jsonrpc_subscription(self, sub_type, entity, name, groups): """Confirm (or infirm) subscription, and setup user roster in case of subscription"""