projects
/
cascardo
/
hcxmpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create a hook for sent messages
[cascardo/hcxmpp.git]
/
message.c
diff --git
a/message.c
b/message.c
index
be28d5d
..
f1d1941
100644
(file)
--- 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);
}