Imported issue was from riderandy:
Yahoo Contacts always switch status with other Yahoo Contacts during first online. This doesn't change all throughout the session. It is get corrected only when the contact changes his status (by this time the transport correctly fetches it). Possible reason for this is incorrect mapping of the status to the correct contact on initial loading of buddy list.