[Pidgin] #2844: msimprpl should allow user to choose IM username if not already set

Pidgin trac at pidgin.im
Wed Sep 5 00:27:37 EDT 2007


#2844: msimprpl should allow user to choose IM username if not already set
--------------------------+-------------------------------------------------
  Reporter:  jeff         |       Owner:  jeff    
      Type:  enhancement  |      Status:  new     
  Priority:  major        |   Milestone:          
 Component:  libpurple    |     Version:  2.1.1   
Resolution:               |    Keywords:  msimprpl
   Pending:  0            |  
--------------------------+-------------------------------------------------
Comment (by jeff):

 logging in to an account with msimprpl with no username (without username
 setting ability), for reference:

 {{{
 (21:22:17) msim: buffer at 0 (max 15360), reading up to 15360
 (21:22:17) msim: msim_input_cb: going to null terminate at n=109
 (21:22:17) msim: msim_input_cb: read=109
 (21:22:17) msim: msim_parse: got
 <\lc\1\nc\hoyUDcUuDJ0stiZ1RIpDnZVuDjHUIAqMVtlUDTZSm4vdqI1OmDLpSgZtFzQsW6PcvOhva4a8zoCYrg1l2nieCg==\id\1>
 (21:22:17) msim: nc is 64 bytes, decoded
 (21:22:17) msim: converting password to UTF-16LE
 (21:22:17) msim: msim_send_raw: writing
 <\login2\196610\username\msimprpl2 at xyzzy.cjb.net\response\p37lWPixzsxP9C=\clientver\697\langid\1033\imlang\ENGLISH\reconn\0\status\100\id\1\final\>
 (21:22:17) msim: msim_msg_send()ing <MsimMessage:
 login2(integer): 196610
 username(string): msimprpl2 at xyzzy.cjb.net
 response(binary, 80 bytes): p37lWPixzsxP9C=
 clientver(integer): 697
 langid(integer): 1033
 imlang(string): ENGLISH
 reconn(integer): 0
 status(integer): 100
 id(integer): 1
 /MsimMessage>
 (21:22:17) msim: buffer at 0 (max 15360), reading up to 15360
 (21:22:17) msim: msim_input_cb: going to null terminate at n=475
 (21:22:17) msim: msim_input_cb: read=475
 (21:22:17) msim: msim_parse: got
 <\persistr\\cmd\257\dsn\101\uid\0\lid\20\rid\19936870\body\AdUnitRefreshInterval=10AlertPollInterval=360AllowChatRoomEmoticonSharing=FalseChatRoomUserIDs=78744676;163733130;1300326231;123521495;142663391CurClientVersion=673EnableIMBrowse=TrueEnableIMStuffAvatars=TrueEnableIMStuffZaps=TrueMaxAddAllFriends=100MaxContacts=1000MinClientVersion=594MySpaceIM_ENGLISH=78744676MySpaceNowTimer=720PersistenceDataTimeout=900UseWebChallenge=1WebTicketGoHome=False>
 (21:22:17) msim: msim_process_reply: not caching body, no UserName
 (21:22:17) msim_process_server_info: maximum contacts: 1000
 (21:22:17) msim: buffer at 0 (max 15360), reading up to 15360
 (21:22:17) msim: msim_input_cb: going to null terminate at n=1345
 (21:22:17) msim: msim_input_cb: read=1345
 (21:22:17) msim: msim_parse: got
 <\lc\2\sesskey\447497814\proof\CwIAAAFoAAABaAAApc0jgDql4ZYOcr3C9h+2dLSjmwg5w6yvsRjqmclRxFynBIe8H2ID6A==\userid\240626417\profileid\240626417\uniquenick\240626417\id\1>
 (21:22:17) msim: SESSKEY=<447497814>
 (21:22:17) msim_we_are_logged_on: TODO: pick username(21:22:17) msim:
 msim_send_raw: writing
 <\persist\persist\sesskey\447497814\dsn\4\uid\240626417\lid\5\rid\1\body\UserID=240626417\final\>
 (21:22:17) msim: msim_msg_send()ing <MsimMessage:
 persist(string): persist
 sesskey(integer): 447497814
 dsn(integer): 4
 uid(integer): 240626417
 lid(integer): 5
 rid(integer): 1
 body(dict): <MsimMessage:
 UserID(integer): 240626417
 /MsimMessage>
 /MsimMessage>
 (21:22:17) msim: msim_send_raw: writing
 <\persist\persist\sesskey\447497814\dsn\1\uid\240626417\lid\4\rid\2\body\\final\>
 (21:22:17) msim: msim_msg_send()ing <MsimMessage:
 persist(string): persist
 sesskey(integer): 447497814
 dsn(integer): 1
 uid(integer): 240626417
 lid(integer): 4
 rid(integer): 2
 body(string):
 /MsimMessage>
 (21:22:17) msim: msim_we_are_logged_on: notifying servers of status
 (21:22:17) msim: msim_set_status: available (2->1)
 (21:22:17) msim: msim_set_status_code: going to set status to code=1,str=
 (21:22:17) msim: msim_send_raw: writing
 <\status\1\sesskey\447497814\statstring\\locstring\\final\>
 (21:22:17) msim: msim_msg_send()ing <MsimMessage:
 status(integer): 1
 sesskey(integer): 447497814
 statstring(string):
 locstring(string):
 /MsimMessage>
 (21:22:17) msim: msim_send_raw: writing
 <\persist\1\sesskey\447497814\cmd\1\dsn\0\lid\1\uid\240626417\rid\3\body\\final\>
 (21:22:17) msim: msim_msg_send()ing <MsimMessage:
 persist(integer): 1
 sesskey(integer): 447497814
 cmd(integer): 1
 dsn(integer): 0
 lid(integer): 1
 uid(integer): 240626417
 rid(integer): 3
 body(string):
 /MsimMessage>
 (21:22:18) msim: msim_parse: got
 <\persistr\\cmd\257\dsn\101\uid\0\lid\20\rid\19936871\body\AdUnitRefreshInterval=10AlertPollInterval=360AllowChatRoomEmoticonSharing=FalseChatRoomUserIDs=78744676;163733130;1300326231;123521495;142663391CurClientVersion=673EnableIMBrowse=TrueEnableIMStuffAvatars=TrueEnableIMStuffZaps=TrueMaxAddAllFriends=100MaxContacts=1000MinClientVersion=594MySpaceIM_ENGLISH=78744676MySpaceNowTimer=720PersistenceDataTimeout=900UseWebChallenge=1WebTicketGoHome=False>
 (21:22:18) msim: msim_process_reply: not caching body, no UserName
 (21:22:18) msim_process_server_info: maximum contacts: 1000
 (21:22:18) msim: msim_parse: got
 <\persistr\\cmd\257\dsn\17\uid\240626417\lid\26\rid\20003836\body\Challenge=4219836936ChallengeData=ogAHy9CwOqw8jhlLZ7ssHFEDxYQqNBueEylmJgFO2uAjk4DWiTQX+TooIXoG6QvSZf7n1O2vIpIfa67ZdvCnJg==Challenge=4219836935ChallengeData=WLHvYinWpg+jlOR/1iNoW8NVZVqrykLuVV7y/1xrue0EGzzSwO2anskcOGzbAXe+MLSy44bSRLaBv74jdaF/1oLew==Challenge=4219836934ChallengeData=dbwlcmwj/1ZZd3NNOxHNnJWurOWvgXxfMGpUodBgnrOP8A4SpvHPHO0xJIWsrD8EATo4Hgjg28eDFXy7Qn/1EH0A==Challenge=4219836933ChallengeData=7+7Lu+WrywMmVeneXdJBfJimPoec7UQlbBU3VR0+bw9vy3QvTMGeKUpqplzZ112CuqYQF89Ckba3hPZJx/1987A==Challenge=4219836932ChallengeData=m9SWEm3dKHdmmp2hTptEPHpRstSosh3WRfh0XK12ekoeFC/1zxJ7NF1LyjAO3FaICxQC90eVq1K4Vb+TmhFWzDg==>
 (21:22:18) msim: msim_process_reply: not caching body, no UserName
 (21:22:18) msim: msim_input_cb: preprocessing message failed on msg:
 <MsimMessage:
 persistr(raw):
 cmd(raw): 257
 dsn(raw): 17
 uid(raw): 240626417
 lid(raw): 26
 rid(raw): 20003836
 body(raw):
 Challenge=4219836936ChallengeData=ogAHy9CwOqw8jhlLZ7ssHFEDxYQqNBueEylmJgFO2uAjk4DWiTQX+TooIXoG6QvSZf7n1O2vIpIfa67ZdvCnJg==Challenge=4219836935ChallengeData=WLHvYinWpg+jlOR/1iNoW8NVZVqrykLuVV7y/1xrue0EGzzSwO2anskcOGzbAXe+MLSy44bSRLaBv74jdaF/1oLew==Challenge=4219836934ChallengeData=dbwlcmwj/1ZZd3NNOxHNnJWurOWvgXxfMGpUodBgnrOP8A4SpvHPHO0xJIWsrD8EATo4Hgjg28eDFXy7Qn/1EH0A==Challenge=4219836933ChallengeData=7+7Lu+WrywMmVeneXdJBfJimPoec7UQlbBU3VR0+bw9vy3QvTMGeKUpqplzZ112CuqYQF89Ckba3hPZJx/1987A==Challenge=4219836932ChallengeData=m9SWEm3dKHdmmp2hTptEPHpRstSosh3WRfh0XK12ekoeFC/1zxJ7NF1LyjAO3FaICxQC90eVq1K4Vb+TmhFWzDg==
 /MsimMessage>
 (21:22:18) msim: buffer at 0 (max 15360), reading up to 15360
 (21:22:18) msim: msim_input_cb: going to null terminate at n=63
 (21:22:18) msim: msim_input_cb: read=63
 (21:22:18) msim: msim_parse: got
 <\persistr\\cmd\257\dsn\0\uid\240626417\lid\1\rid\3\body\>
 (21:22:18) msim: msim_process_reply: calling callback now
 (21:22:18) msim: for msg=<MsimMessage:
 persistr(raw):
 cmd(raw): 257
 dsn(raw): 0
 uid(raw): 240626417
 lid(raw): 1
 rid(raw): 3
 body(raw):
 /MsimMessage>
 (21:22:18) msim: msim_got_contact_list: reply=<MsimMessage:
 persistr(raw):
 cmd(raw): 257
 dsn(raw): 0
 uid(raw): 240626417
 lid(raw): 1
 rid(raw): 3
 body(raw):
 /MsimMessage>(21:22:18) msim_got_contact_list: assertion `body != NULL'
 failed

 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2844#comment:6>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list