diff --git a/client/js/im.js b/client/js/im.js index d2a3135..d7be5eb 100644 --- a/client/js/im.js +++ b/client/js/im.js @@ -857,6 +857,9 @@ $.extend(AjaxIM.prototype, { msglog[0].scrollTop = msglog[0].scrollHeight; } + if (!this.friends[friend]) { + this.addFriend(friend, [status, statusMessage], 'Friends'); + } if(this.friends[friend]) { var friend_id = 'imjs-friend-' + md5.hex(friend + this.friends[friend].group); $('#' + friend_id).attr('class', 'imjs-friend imjs-' + status);