diff src/core/sat_main.py @ 605:c8b129a3c209

core: fixed sendMessage
author Goffi <goffi@goffi.org>
date Sat, 23 Feb 2013 12:25:34 +0100
parents 6fd1095b2b7b
children 84a6e83157c2
line wrap: on
line diff
--- a/src/core/sat_main.py	Fri Feb 22 00:22:50 2013 +0100
+++ b/src/core/sat_main.py	Sat Feb 23 12:25:34 2013 +0100
@@ -469,7 +469,7 @@
 
     def _sendMessage(self, to_s, msg, subject=None, mess_type='auto', profile_key='@NONE@'):
         to_jid = jid.JID(to_s)
-        self.sendMessage(to_jid, msg, subject, mess_type, profile_key)
+        self.sendMessage(to_jid, msg, subject, mess_type, profile_key=profile_key)
     
     def sendMessage(self, to_jid, msg, subject=None, mess_type='auto', no_trigger = False, profile_key='@NONE@'):
         #FIXME: check validity of recipient