comparison frontends/src/bridge/DBus.py @ 345:e6047415868d

Bridge: added updateContact method
author Goffi <goffi@goffi.org>
date Sat, 28 May 2011 20:24:02 +0200
parents 4402ac630712
children 6b5626c37909
comparison
equal deleted inserted replaced
344:f19771d2e63b 345:e6047415868d
140 return self.db_comm_iface.setPresence(to_jid, show, priority, statuses, profile_key) 140 return self.db_comm_iface.setPresence(to_jid, show, priority, statuses, profile_key)
141 141
142 def subscription(self, sub_type, entity, profile_key="@DEFAULT@"): 142 def subscription(self, sub_type, entity, profile_key="@DEFAULT@"):
143 return self.db_comm_iface.subscription(sub_type, entity, profile_key) 143 return self.db_comm_iface.subscription(sub_type, entity, profile_key)
144 144
145 def updateContact(self, entity, name, groups, profile_key="@DEFAULT@"):
146 return self.db_comm_iface.updateContact(entity, name, groups, profile_key)
147
145 148
146 #methods from plugins 149 #methods from plugins
147 def getRoomJoined(self, profile_key='@DEFAULT@'): 150 def getRoomJoined(self, profile_key='@DEFAULT@'):
148 return self.db_comm_iface.getRoomJoined(profile_key) 151 return self.db_comm_iface.getRoomJoined(profile_key)
149 152