aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-28 22:54:40 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-28 22:54:40 +0200
commitabbd8ede1eb5eeb9b82e09357e0b38949bc95b8d (patch)
tree9c5c39314b372df7ffa5e2b2a2d7c905e2284771 /protocols/jabber/jabber.c
parent62d0c141f1118d245fe192151e57b2beb739aa5c (diff)
Added handling of roster pushes. This means your local buddy list will
stay synchronized with other clients logged into your account at the same time.
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index e4bdc463..855a6a3b 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -229,7 +229,10 @@ static int jabber_send_im( struct gaim_connection *gc, char *who, char *message,
/* If the user likes typing notification and if we don't know
(and didn't probe before) if this resource supports XEP85,
- include a probe in this packet now. */
+ include a probe in this packet now. Also, if we know this
+ buddy does support XEP85, we have to send this <active/>
+ tag to tell that the user stopped typing (well, that's what
+ we guess when s/he pressed Enter...). */
act = xt_new_node( "active", NULL, NULL );
xt_add_attr( act, "xmlns", "http://jabber.org/protocol/chatstates" );
xt_add_child( node, act );