comparison frontends/sat_bridge_frontend/DBus.py @ 67:0e50dd3a234a

message sending bug fixes + sortilege update - sortilege now use default profile. /!\ sortilege is really buggy currently, need some attention
author Goffi <goffi@goffi.org>
date Thu, 04 Feb 2010 01:06:36 +1100
parents 8147b4f40809
children 9b842086d915
comparison
equal deleted inserted replaced
66:8147b4f40809 67:0e50dd3a234a
65 return self.db_comm_iface.getPresenceStatus(profile_key) 65 return self.db_comm_iface.getPresenceStatus(profile_key)
66 66
67 def getWaitingSub(self, profile_key='@DEFAULT@'): 67 def getWaitingSub(self, profile_key='@DEFAULT@'):
68 return self.db_comm_iface.getWaitingSub(profile_key) 68 return self.db_comm_iface.getWaitingSub(profile_key)
69 69
70 def sendMessage(self, to, message, profile_key='@DEFAULT@'): 70 def sendMessage(self, to, message, type='chat', profile_key='@DEFAULT@'):
71 return self.db_comm_iface.sendMessage(to, message, profile_key) 71 return self.db_comm_iface.sendMessage(to, message, type, profile_key)
72 72
73 def setPresence(self, to="", show="", priority=0, statuses={}, profile_key='@DEFAULT@'): 73 def setPresence(self, to="", show="", priority=0, statuses={}, profile_key='@DEFAULT@'):
74 return self.db_comm_iface.setPresence(to, show, priority, statuses, profile_key) 74 return self.db_comm_iface.setPresence(to, show, priority, statuses, profile_key)
75 75
76 def subscription(self, type, entity, profile_key='@DEFAULT@'): 76 def subscription(self, type, entity, profile_key='@DEFAULT@'):