X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fhcxmpp.git;a=blobdiff_plain;f=message.c;h=f1d1941bc699b189ab6e084f60f161e520fa2114;hp=be28d5d92ccdc499fd7b2a847b95b9ef2eec7094;hb=HEAD;hpb=8a0e2834ab01c824196aab0e81c713f6b88110cd diff --git a/message.c b/message.c index be28d5d..f1d1941 100644 --- a/message.c +++ b/message.c @@ -28,5 +28,6 @@ hc_xmpp_send_message (hc_xmpp_t *xmpp, char *to, char *body) bd = iks_insert (msg, "body"); iks_insert_cdata (bd, body, 0); hc_xmpp_send_iks (xmpp, msg); + hc_xmpp_sent_message (xmpp, msg); iks_delete (msg); }