diff src/protocols/oscar/service.c @ 9879:aef5f316b746

[gaim-migrate @ 10758] Huge thanks to Andrew Wellington for pointing out that I was sending the available message packet over the wrong connection. And these strings were only #if 0'ed out, so they're all translated like a Christina Aguilera song. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 26 Aug 2004 01:29:00 +0000
parents 92cbf9713795
children 0de7eee583e6
line wrap: on
line diff
--- a/src/protocols/oscar/service.c	Thu Aug 26 00:34:18 2004 +0000
+++ b/src/protocols/oscar/service.c	Thu Aug 26 01:29:00 2004 +0000
@@ -797,7 +797,7 @@
 	aim_tlvlist_t *tl = NULL;
 	fu32_t data;
 
-	if (!sess || !(conn = aim_conn_findbygroup(sess, 0x0004)))
+	if (!sess || !(conn = aim_conn_findbygroup(sess, AIM_CB_FAM_MSG)))
 		return -EINVAL;
 
 	data = AIM_ICQ_STATE_HIDEIP | AIM_ICQ_STATE_WEBAWARE | status; /* yay for error checking ;^) */
@@ -832,7 +832,7 @@
 	aim_frame_t *fr;
 	aim_snacid_t snacid;
 
-	if (!sess || !(conn = aim_conn_findbygroup(sess, 0x0001)))
+	if (!sess || !(conn = aim_conn_findbygroup(sess, 0x0004)))
 		return -EINVAL;
 
 	if (msg != NULL) {