diff 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
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Tue Jan 18 01:07:12 2011 +0100
+++ b/frontends/src/bridge/DBus.py	Tue Jan 18 03:59:59 2011 +0100
@@ -80,8 +80,8 @@
     def getWaitingSub(self, profile_key='@DEFAULT@'):
         return self.db_comm_iface.getWaitingSub(profile_key)
 
-    def sendMessage(self, to, message, type='chat', profile_key='@DEFAULT@'):
-        return self.db_comm_iface.sendMessage(to, message, type, profile_key)
+    def sendMessage(self, to, message, subject='', type='chat', profile_key='@DEFAULT@'):
+        return self.db_comm_iface.sendMessage(to, message, subject, type, profile_key)
     
     def setPresence(self, to="", show="", priority=0, statuses={}, profile_key='@DEFAULT@'):
         return self.db_comm_iface.setPresence(to, show, priority, statuses, profile_key)