How can i get the usermeta of the sender ?
handleComingRequest: function( cmds )
var id = cmds[mid][0];
var date = cmds[mid][1];
var time = cmds[mid][2];
var sender = cmds[mid][3];
var recipientid = cmds[mid][4];
var cmd = cmds[mid][5];
var param = cmds[mid][6];
var fromtoday = cmds[mid][7];
var oldmsg = cmds[mid][8];
In this part I need to get the meta data of the poster (sender)
Something like this ..
var avar = this.getUserMeta(nickid, 'avatar'); // avatar
This of course dont work, as it will show YOUR avatar ... not for each sender..
Instead of nickid.. i guess I need something like sender ID ?
Could anyone please help...?
Thanks in advance