Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 260:c8406fe5e81e
Added SMTP server plugin, for sending messages from classic MUA \o/
- added subject managing in sendMessage
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 18 Jan 2011 03:59:59 +0100 |
parents | b1794cbb88e5 |
children | bdcd535e179e |
comparison
equal
deleted
inserted
replaced
259:11f71187d5e4 | 260:c8406fe5e81e |
---|---|
78 return self.db_comm_iface.getPresenceStatus(profile_key) | 78 return self.db_comm_iface.getPresenceStatus(profile_key) |
79 | 79 |
80 def getWaitingSub(self, profile_key='@DEFAULT@'): | 80 def getWaitingSub(self, profile_key='@DEFAULT@'): |
81 return self.db_comm_iface.getWaitingSub(profile_key) | 81 return self.db_comm_iface.getWaitingSub(profile_key) |
82 | 82 |
83 def sendMessage(self, to, message, type='chat', profile_key='@DEFAULT@'): | 83 def sendMessage(self, to, message, subject='', type='chat', profile_key='@DEFAULT@'): |
84 return self.db_comm_iface.sendMessage(to, message, type, profile_key) | 84 return self.db_comm_iface.sendMessage(to, message, subject, type, profile_key) |
85 | 85 |
86 def setPresence(self, to="", show="", priority=0, statuses={}, profile_key='@DEFAULT@'): | 86 def setPresence(self, to="", show="", priority=0, statuses={}, profile_key='@DEFAULT@'): |
87 return self.db_comm_iface.setPresence(to, show, priority, statuses, profile_key) | 87 return self.db_comm_iface.setPresence(to, show, priority, statuses, profile_key) |
88 | 88 |
89 def subscription(self, type, entity, profile_key='@DEFAULT@'): | 89 def subscription(self, type, entity, profile_key='@DEFAULT@'): |