Made ChannelInviteModal pull all channel members before rendering

Этот коммит содержится в:
hmhealey
2016-01-07 10:25:56 -05:00
родитель 0e7a149982
Коммит 357063044b
3 изменённых файлов: 36 добавлений и 11 удалений

Просмотреть файл

@@ -168,7 +168,7 @@ export function getMoreChannels(force) {
}
}
export function getChannelExtraInfo(id) {
export function getChannelExtraInfo(id, memberLimit) {
let channelId;
if (id) {
channelId = id;
@@ -185,6 +185,7 @@ export function getChannelExtraInfo(id) {
client.getChannelExtraInfo(
channelId,
memberLimit,
(data, textStatus, xhr) => {
callTracker['getChannelExtraInfo_' + channelId] = 0;