Adapt to new chat member format, fixes #457
This commit is contained in:
parent
a92712d158
commit
b2e41a6421
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ ChatInformationTabItemBase {
|
||||||
if(members && members.length > 0 && chatInformationPage.groupInformation.member_count > membersView.count) {
|
if(members && members.length > 0 && chatInformationPage.groupInformation.member_count > membersView.count) {
|
||||||
for(var memberIndex in members) {
|
for(var memberIndex in members) {
|
||||||
var memberData = members[memberIndex];
|
var memberData = members[memberIndex];
|
||||||
var userInfo = tdLibWrapper.getUserInformation(memberData.user_id) || {user:{}, bot_info:{}};
|
var userInfo = tdLibWrapper.getUserInformation(memberData.member_id.user_id) || {user:{}, bot_info:{}};
|
||||||
memberData.user = userInfo;
|
memberData.user = userInfo;
|
||||||
memberData.bot_info = memberData.bot_info || {};
|
memberData.bot_info = memberData.bot_info || {};
|
||||||
pageContent.membersList.append(memberData);
|
pageContent.membersList.append(memberData);
|
||||||
|
|
Loading…
Reference in a new issue