Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 917:a9401694d2dc
bridge, frontends: display presence with the highest priority + reset your own presence when you (dis)connect
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 20 Mar 2014 21:18:18 +0100 |
parents | 308a96bc7c1b |
children | 71926ec2114d |
comparison
equal
deleted
inserted
replaced
916:1a759096ccbd | 917:a9401694d2dc |
---|---|
198 return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, extra, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:])) | 198 return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, extra, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:])) |
199 | 199 |
200 def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"): | 200 def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"): |
201 return self.db_core_iface.setParam(name, value, category, security_limit, profile_key) | 201 return self.db_core_iface.setParam(name, value, category, security_limit, profile_key) |
202 | 202 |
203 def setPresence(self, to_jid='', show='', priority=0, statuses={}, profile_key="@DEFAULT@"): | 203 def setPresence(self, to_jid='', show='', statuses={}, profile_key="@DEFAULT@"): |
204 return self.db_core_iface.setPresence(to_jid, show, priority, statuses, profile_key) | 204 return self.db_core_iface.setPresence(to_jid, show, statuses, profile_key) |
205 | 205 |
206 def subscription(self, sub_type, entity, profile_key="@DEFAULT@"): | 206 def subscription(self, sub_type, entity, profile_key="@DEFAULT@"): |
207 return self.db_core_iface.subscription(sub_type, entity, profile_key) | 207 return self.db_core_iface.subscription(sub_type, entity, profile_key) |
208 | 208 |
209 def updateContact(self, entity_jid, name, groups, profile_key="@DEFAULT@"): | 209 def updateContact(self, entity_jid, name, groups, profile_key="@DEFAULT@"): |