aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/oscar/service.c')
-rw-r--r--protocols/oscar/service.c4
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);