Hi,
Now I ws able to analyze 2 logs.. It doesn't look too bright, unfortunately... In the second log, the only thing that indicated that there is something going on was the ACTIVITY_TIMESTAMP for the dialog. No CHATMESSAGE or anything similar from Skype via the API whatsoever. It doesn't have anything to do whether the contact is a live: contact or not, it's just a silly Skype bug. The only possibility that comes to my mind to work around the bug is to keep a list of active dialogs in memory and check on every ACTIVITY_TIMESTAMP if this dialog is present in the memory list, and if not (so first occurence within the session) search for either MISSEDMESSAGES (maybe it shows up in that list) or RECENTCHATMESSAGES.
This will, however, leak memory because the list is growing in memory with the number of dialogs that you are having and additionally it takes up CPU time as ACTIVITY_TIMESTAMP messages are coming very often via the API. Not sure if this is such a good idea.
Any thoughts on this?
The weird thing is, I cannot even reproduce the bug properly, I have a few Skype 3 test accounts that can be used to send me messages to Skype 6 and when they are sending messages, the bug never occurs, I was only available to reproduce it with another user that also had Skype 6, so maybe only Skype 6 <-> Skype 6 connections are affected?
Does anyone of you have a step-by-step instruction how to reproduce this bug properly?