aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/message.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-04-22 16:39:37 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2007-04-22 16:39:37 -0700
commit43671b964b636520a54e343542c5958b30e9f589 (patch)
treec503e4eaa46677f964ebd588665cede72f96c1a8 /protocols/jabber/message.c
parente35d1a121d5fb2da3698fbe4a365fe38d0097665 (diff)
You can send messages too now. But it's still very kludgy and doesn't work
with anonymous rooms (ie about 95% of all available Jabber chatrooms?).
Diffstat (limited to 'protocols/jabber/message.c')
-rw-r--r--protocols/jabber/message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/jabber/message.c b/protocols/jabber/message.c
index 8a4ecaf4..198fc3b9 100644
--- a/protocols/jabber/message.c
+++ b/protocols/jabber/message.c
@@ -80,7 +80,8 @@ xt_status jabber_pkt_message( struct xt_node *node, gpointer data )
fullmsg = g_string_append( fullmsg, body->text );
if( fullmsg->len > 0 )
- imcb_buddy_msg( ic, bud ? bud->bare_jid : from, fullmsg->str, 0, 0 );
+ imcb_buddy_msg( ic, bud ? bud->bare_jid : from, fullmsg->str,
+ 0, jabber_get_timestamp( node ) );
g_string_free( fullmsg, TRUE );