I am attempting to use the JML library to add MSN functionality to my messenger and am having a problem with the contactListInitCompleted event. All contacts have a status of FLN/OFFLINE even after this event has fired.
Status changes are correctly identified, but the initial status of contacts in the contact list is not correct. Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tested this with the example application, and it is also the case there. The contactListInitComplete is firing before the INL messages are received. I have solved this by having incoming ILN messages fire contactStatusChanged events by adding the following line to <code>IncomingILN.messageReceived</code>:
I'm going to be applying your patch here to the base code soonish. =) BTW, thanks for posting this! I ran into this problem when I started working on this and your patch did the trick!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you will get the contact changes properly, you can always make your own contact list that's having the right contact states :) For me the current set works.
Sincerelly, Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am attempting to use the JML library to add MSN functionality to my messenger and am having a problem with the contactListInitCompleted event. All contacts have a status of FLN/OFFLINE even after this event has fired.
Status changes are correctly identified, but the initial status of contacts in the contact list is not correct. Any suggestions?
I tested this with the example application, and it is also the case there. The contactListInitComplete is firing before the INL messages are received. I have solved this by having incoming ILN messages fire contactStatusChanged events by adding the following line to <code>IncomingILN.messageReceived</code>:
<code>
((AbstractMessenger) session.getMessenger()).fireContactStatusChanged(contact);
</code>
Any progress on this issue? It's quite a show-stopper for us...
I'm going to be applying your patch here to the base code soonish. =) BTW, thanks for posting this! I ran into this problem when I started working on this and your patch did the trick!
This is still a problem, so per Daniel's reequest I have posted a bug:
http://sourceforge.net/tracker/index.php?func=detail&atid=682289&aid=1613652&group_id=118829
If you will get the contact changes properly, you can always make your own contact list that's having the right contact states :) For me the current set works.
Sincerelly, Ian
I have the same problem, but i also don't seem to get any status changes form the msn side. Is there anyone that have figured a way around this one?