Changeset 3752019
- Timestamp:
- 2015-03-15T14:41:47Z (10 years ago)
- Children:
- ffa5b70
- Parents:
- fa8c775
- git-author:
- dequis <dx@…> (08-03-15 04:28:49)
- git-committer:
- dequis <dx@…> (15-03-15 14:41:47)
- Location:
- protocols/msn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.h
rfa8c775 r3752019 60 60 #define MSNP11_PROD_KEY "C1BX{V4W}Q3*10SM" 61 61 #define MSNP11_PROD_ID "PROD0120PW!CCV9@" 62 #define MSNP_VER "MSNP 18"62 #define MSNP_VER "MSNP21" 63 63 #define MSNP_BUILD "14.0.8117.416" 64 64 -
protocols/msn/ns.c
rfa8c775 r3752019 185 185 } 186 186 187 return(msn_ns_write(ic, handler->fd, "CVR %d 0x0409 mac 10.2.0 ppc macmsgs 3.5.1 macmsgs %s \r\n",187 return(msn_ns_write(ic, handler->fd, "CVR %d 0x0409 mac 10.2.0 ppc macmsgs 3.5.1 macmsgs %s VmVyc2lvbjogMQ0KWGZyQ291bnQ6IDINClhmclNlbnRVVENUaW1lOiA2MzU2MTQ3OTU5NzgzOTAwMDANCklzR2VvWGZyOiB0cnVlDQo=\r\n", 188 188 ++md->trId, ic->acc->user)); 189 189 } else if (strcmp(cmd[0], "CVR") == 0) { … … 297 297 return(0); 298 298 } 299 } else if (strcmp(cmd[0], "BLP") == 0) {300 msn_ns_send_adl_start(ic);301 return msn_ns_finish_login(ic);302 299 } else if (strcmp(cmd[0], "ADL") == 0) { 303 300 if (num_parts >= 3 && strcmp(cmd[2], "OK") == 0) { … … 497 494 handler->msglen = atoi(cmd[1]); 498 495 } 496 } else if (strcmp(cmd[0], "NFY") == 0) { 497 if (num_parts >= 3) { 498 handler->msglen = atoi(cmd[2]); 499 } 499 500 } else if (strcmp(cmd[0], "UBM") == 0) { 500 501 if (num_parts >= 7) { … … 768 769 void msn_auth_got_contact_list(struct im_connection *ic) 769 770 { 770 struct msn_data *md;771 772 771 /* Dead connection? */ 773 772 if (g_slist_find(msn_connections, ic) == NULL) { … … 775 774 } 776 775 777 m d = ic->proto_data;778 msn_ns_ write(ic, -1, "BLP %d %s\r\n", ++md->trId, "BL");776 msn_ns_send_adl_start(ic); 777 msn_ns_finish_login(ic); 779 778 } 780 779 781 780 static gboolean msn_ns_send_adl_1(gpointer key, gpointer value, gpointer data) 782 781 { 783 struct xt_node *adl = data, *d, *c ;782 struct xt_node *adl = data, *d, *c, *s; 784 783 struct bee_user *bu = value; 785 784 struct msn_buddy_data *bd = bu->data; … … 810 809 c = xt_new_node("c", NULL, NULL); 811 810 xt_add_attr(c, "n", handle); 812 xt_add_attr(c, "l", l);813 811 xt_add_attr(c, "t", "1"); /* FIXME: Network type, i.e. 32 for Y!MSG */ 812 s = xt_new_node("s", NULL, NULL); 813 xt_add_attr(s, "n", "IM"); 814 xt_add_attr(s, "l", l); 815 xt_insert_child(c, s); 814 816 xt_insert_child(d, c); 815 817
Note: See TracChangeset
for help on using the changeset viewer.