Adapt to new chat member format, fixes #457

This commit is contained in:
Sebastian Wolf 2021-12-06 23:51:54 +01:00
parent a92712d158
commit b2e41a6421
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -179,7 +179,7 @@ ChatInformationTabItemBase {
if(members && members.length > 0 && chatInformationPage.groupInformation.member_count > membersView.count) {
for(var memberIndex in members) {
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.bot_info = memberData.bot_info || {};
pageContent.membersList.append(memberData);