I am currently working on the project which use the buddy service as the back end
I have a question about the buddy service api "getAllMessages" and "sendMessageToFriend".
The phenomenon is that after I log in user A, I send a message M from A to B (A and B are already friends) with sendMessageToFriend, it seems correct (as console displays, the username is A and buddy name is B)
Then I log into B, and call getAllMessages, the.message M should have been there, but it isn't.
More surprisingly, when I log into A again and call getAllMessages, I found that the message M is there on A's display console! (as console displays, the username is A and buddy name is NULL) "getAllMessages" seems to fetch those messages of the sender instead of the receiver.
I am not sure if I have called the wrong api, but what is the way to get those messages which a specific user receives from all his friends?