core: fixed sendMessage
This commit is contained in:
parent
a5f4072a89
commit
3be801d4ee
1 changed files with 4 additions and 4 deletions
|
|
@ -469,7 +469,7 @@ class SAT(service.Service):
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue