Fix undefined friend

pull/1/head
yflory 7 years ago
parent b8971cdc23
commit 885282ddea

@ -48,9 +48,10 @@ define([
});
};
Msg.getFriendChannelsList = function (proxy) {
Msg.getFriendChannelsList = function (common) {
var list = [];
eachFriend(proxy, function (friend) {
var proxy = common.getProxy();
eachFriend(proxy.friends, function (friend) {
list.push(friend.channel);
});
return list;

Loading…
Cancel
Save