Changeset 5fecede for protocols/msn
- Timestamp:
- 2010-08-08T17:29:43Z (14 years ago)
- Branches:
- master
- Children:
- 7db65b7
- Parents:
- 2528cda
- Location:
- protocols/msn
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/ns.c
r2528cda r5fecede 73 73 md->handler->rxq = g_new0( char, 1 ); 74 74 75 g_snprintf( s, sizeof( s ), "VER %d MSNP 8CVR0\r\n", ++md->trId );75 g_snprintf( s, sizeof( s ), "VER %d MSNP14 CVR0\r\n", ++md->trId ); 76 76 if( msn_write( ic, s, strlen( s ) ) ) 77 77 { … … 113 113 if( strcmp( cmd[0], "VER" ) == 0 ) 114 114 { 115 if( cmd[2] && strncmp( cmd[2], "MSNP 8", 5 ) != 0 )115 if( cmd[2] && strncmp( cmd[2], "MSNP14", 5 ) != 0 ) 116 116 { 117 117 imcb_error( ic, "Unsupported protocol" ); … … 230 230 } 231 231 } 232 else if( num_parts >= 7 &&strcmp( cmd[2], "OK" ) == 0 )232 else if( strcmp( cmd[2], "OK" ) == 0 ) 233 233 { 234 234 if( num_parts == 7 ) … … 655 655 } 656 656 } 657 } 658 else if( strcmp( cmd[0], "GCF" ) == 0 ) 659 { 660 /* Coming up is cmd[2] bytes of stuff we're supposed to 661 censore. Meh. */ 662 md->handler->msglen = atoi( cmd[2] ); 657 663 } 658 664 else if( isdigit( cmd[0][0] ) ) -
protocols/msn/sb.c
r2528cda r5fecede 30 30 #include "md5.h" 31 31 #include "soap.h" 32 #include "invitation.h" 32 33 33 34 static gboolean msn_sb_callback( gpointer data, gint source, b_input_condition cond ); -
protocols/msn/soap.c
r2528cda r5fecede 155 155 soap_req->payload = g_markup_printf_escaped( SOAP_OIM_SEND_PAYLOAD, 156 156 ic->acc->user, display_name_b64, oim->to, md->passport_token, 157 MSNP11_PROD_ID, md->lock_key ? : "", oim->number, oim->number, oim->msg ); 157 MSNP11_PROD_ID, md->lock_key ? md->lock_key : "", 158 oim->number, oim->number, oim->msg ); 158 159 159 160 g_free( display_name_b64 ); -
protocols/msn/soap.h
r2528cda r5fecede 74 74 "Content-Transfer-Encoding: base64\r\n" \ 75 75 "X-OIM-Message-Type: OfflineMessage\r\n" \ 76 "X-OIM-Run-Id: { 89527393-8723-4F4F-8005-287532973298}\r\n" \76 "X-OIM-Run-Id: {F9A6C9DD-0D94-4E85-9CC6-F9D118CC1CAF}\r\n" \ 77 77 "X-OIM-Sequence-Num: %d\r\n" \ 78 78 "\r\n" \
Note: See TracChangeset
for help on using the changeset viewer.