comparison 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
comparison
equal deleted inserted replaced
4341:3ba910921aa0 4342:051265d35a36
727 /* 727 /*
728 * Subtype 0x001e - Set Extended Status 728 * Subtype 0x001e - Set Extended Status
729 * 729 *
730 * Currently only works if using ICQ. 730 * Currently only works if using ICQ.
731 * 731 *
732 * These are the same TLVs seen in user info. You can
733 * also set 0x0008 and 0x000c.
732 */ 734 */
733 faim_export int aim_setextstatus(aim_session_t *sess, aim_conn_t *conn, fu32_t status) 735 faim_export int aim_setextstatus(aim_session_t *sess, aim_conn_t *conn, fu32_t status)
734 { 736 {
735 aim_frame_t *fr; 737 aim_frame_t *fr;
736 aim_snacid_t snacid; 738 aim_snacid_t snacid;
737 aim_tlvlist_t *tl = NULL; 739 aim_tlvlist_t *tl = NULL;
738 fu32_t data; 740 fu32_t data;
739 741
740 data = 0x00030000 | status; /* yay for error checking ;^) */ 742 data = AIM_ICQ_STATE_HIDEIP | AIM_ICQ_STATE_WEBAWARE | status; /* yay for error checking ;^) */
741 743
742 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 8))) 744 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 8)))
743 return -ENOMEM; 745 return -ENOMEM;
744 746
745 snacid = aim_cachesnac(sess, 0x0001, 0x001e, 0x0000, NULL, 0); 747 snacid = aim_cachesnac(sess, 0x0001, 0x001e, 0x0000, NULL, 0);