Are you polling for the notification immediately after login? The buddyInfo notification after login will typically come in batches, and can take a few seconds sometimes. The other thing I noticed is your notification indicates sequence value 1. Can you confirm that you are polling and requesting to start from sequence value 0?
Yes, I am polling for notifications immediately after login. Basically, after a successful login, I redirect to the 2nd page where I call the notifications URL to send me the data that it has for me. So if you say the data comes in batches, how to wait and populate the buddy list? Let it do automatically whenever it does?
I checked the sequence number, and I was incrementing it to 1 before sending my first notification request. I changed it to 0, and saw the buddyinfo populated with the logged on users :)Thanks for pointing it out to me.