changeset 12453:310fea768a53

[gaim-migrate @ 14762] Peter and Ethan: Pretty please with sugar on top test this as soon as possible. I'm hoping it'll fix the ICQ auth request/SPIM problem. The problem is much more prominent with you two than with I. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 12 Dec 2005 04:50:55 +0000
parents bfa21679fef5
children dc1def8aa40c
files src/protocols/oscar/service.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/service.c	Mon Dec 12 04:31:03 2005 +0000
+++ b/src/protocols/oscar/service.c	Mon Dec 12 04:50:55 2005 +0000
@@ -807,7 +807,11 @@
 	if (!sess || !(conn = aim_conn_findbygroup(sess, AIM_CB_FAM_MSG)))
 		return -EINVAL;
 
-	data = AIM_ICQ_STATE_DIRECTREQUIREAUTH | AIM_ICQ_STATE_HIDEIP | AIM_ICQ_STATE_WEBAWARE | status;
+	/*
+	 * 'AIM_ICQ_STATE_DIRECTREQUIREAUTH' was removed because setting it might
+	 * be the cause of people reciving many unsolicited authorization requests.
+	 */
+	data = AIM_ICQ_STATE_HIDEIP | AIM_ICQ_STATE_WEBAWARE | status;
 
 	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 8)))
 		return -ENOMEM;