by A51Integrated » 08 Mar 2012, 19:54
Just looking at the code, the id that is passed should be that of the buddy, but please ignore your own id at that point. There seems to be a mistake in the API that resets your own id to that of the buddies - so they would equal one another.
To work around this, before your buddy messages are sent (and subsequently received, it's really on the event dispatcher that it happens), save your own user id to a variable. In your onBuddyMessage handler, reset your id back to the variable you saved before sending the message.
We'll work to fix this bug in the next release, but that should allow you to work around the issue for the time being.