diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-12-05 21:40:17 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-12-05 21:40:17 +0100 |
commit | d8d63a27dcfd38245927af95521b6f8918b23795 (patch) | |
tree | 75e4675b12970db6645c087ab75ec35c1b1ba9fd /protocols/oscar/service.c | |
parent | f4aa393b221dcc709f189ed04945ee67e956872a (diff) | |
parent | 55078f59c8e9f52f1d10bed55511e5e58ec3e53b (diff) |
[merge] wilmer
Diffstat (limited to 'protocols/oscar/service.c')
-rw-r--r-- | protocols/oscar/service.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/oscar/service.c b/protocols/oscar/service.c index 4596974f..d55e0987 100644 --- a/protocols/oscar/service.c +++ b/protocols/oscar/service.c @@ -731,8 +731,12 @@ int aim_setextstatus(aim_session_t *sess, aim_conn_t *conn, guint32 status) aim_tlvlist_t *tl = NULL; guint32 data; int tlvlen; + struct gaim_connection *gc = sess ? sess->aux_data : NULL; data = AIM_ICQ_STATE_HIDEIP | status; /* yay for error checking ;^) */ + + if (gc && set_getbool(&gc->acc->set, "web_aware")) + data |= AIM_ICQ_STATE_WEBAWARE; tlvlen = aim_addtlvtochain32(&tl, 0x0006, data); |