Basic group chat members come in differently
This commit is contained in:
parent
c6f50b8071
commit
57f2d71eca
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ SilicaFlickable {
|
||||||
if(groupFullInfo.members && groupFullInfo.members.length > 0) {
|
if(groupFullInfo.members && groupFullInfo.members.length > 0) {
|
||||||
for(var memberIndex in groupFullInfo.members) {
|
for(var memberIndex in groupFullInfo.members) {
|
||||||
var memberData = groupFullInfo.members[memberIndex];
|
var memberData = groupFullInfo.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 || {};
|
||||||
membersList.append(memberData);
|
membersList.append(memberData);
|
||||||
|
|
Loading…
Reference in a new issue