diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-08-04 15:56:53 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-08-04 15:56:53 +0200 |
commit | d3a672c0b70eb7b50dcd2908d6cd6928d4f7d874 (patch) | |
tree | 137a47de628bbb7522105727abafa06539fc9ea6 /protocols/oscar/service.c | |
parent | 0aaca60fdc1a6793b438ecc926bd937073d22685 (diff) |
Added a per-account web_aware setting for ICQ connections.
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); |