git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1334 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-05-03 23:54:30 +00:00
parent 590cf84be1
commit ccbf0b5544
1 changed files with 2 additions and 0 deletions

View File

@ -888,7 +888,9 @@ void ldl_handle_send_msg(ldl_handle_t *handle, char *to, char *subject, char *bo
assert(handle != NULL);
assert(body != NULL);
msg = iks_make_msg(IKS_TYPE_NONE, to, body);
iks_insert_attrib(msg, "type", "chat");
if (subject) {
iks_insert_attrib(msg, "subject", subject);