Fix undefined friend
This commit is contained in:
parent
b8971cdc23
commit
885282ddea
@ -48,9 +48,10 @@ define([
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
Msg.getFriendChannelsList = function (proxy) {
|
Msg.getFriendChannelsList = function (common) {
|
||||||
var list = [];
|
var list = [];
|
||||||
eachFriend(proxy, function (friend) {
|
var proxy = common.getProxy();
|
||||||
|
eachFriend(proxy.friends, function (friend) {
|
||||||
list.push(friend.channel);
|
list.push(friend.channel);
|
||||||
});
|
});
|
||||||
return list;
|
return list;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user