sip_im_session: fix for messages not being printed after reconnect

darcs-hash:20090126130333-b2873-984380271427617028e974e3cb9641ad3f8414de