diff src/protocols/oscar/service.c @ 4342:051265d35a36

[gaim-migrate @ 4607] Thanks tp Aubin LaBrosse for a receive-file-transfer fix. Gaim no longer ignores file transfer sends where the other user didn't enter a description. I "fixed" invisibility with ICQ. Currently, if you set yourself to invisible you'll just show up as invisible on everyone's list. The fix is to set your permit/deny setting to "allow only the users below." ...and so this is a little ugly. Basically, parts of the permit/deny code need to be rewritten to allow the prpls to choose the names of the permit/deny lists, and allow a prpl to pick how many lists there are. ICQ has a visible list, an invisible list, and an ignore list. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 18 Jan 2003 22:43:22 +0000
parents 79d871c11eb9
children 0b64f386a7b8
line wrap: on
line diff
--- a/src/protocols/oscar/service.c	Sat Jan 18 18:18:50 2003 +0000
+++ b/src/protocols/oscar/service.c	Sat Jan 18 22:43:22 2003 +0000
@@ -729,6 +729,8 @@
  *
  * Currently only works if using ICQ.
  *
+ * These are the same TLVs seen in user info.  You can 
+ * also set 0x0008 and 0x000c.
  */
 faim_export int aim_setextstatus(aim_session_t *sess, aim_conn_t *conn, fu32_t status)
 {
@@ -737,7 +739,7 @@
 	aim_tlvlist_t *tl = NULL;
 	fu32_t data;
 
-	data = 0x00030000 | status; /* yay for error checking ;^) */
+	data = AIM_ICQ_STATE_HIDEIP | AIM_ICQ_STATE_WEBAWARE | status; /* yay for error checking ;^) */
 
 	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 8)))
 		return -ENOMEM;