chore: update member variable name to memeberPubKey

This commit is contained in:
Jonathan Rainville 2020-12-21 11:24:35 -05:00 committed by Iuri Matias
parent 78e7fa380c
commit a22c5942ff
1 changed files with 4 additions and 4 deletions

View File

@ -57,12 +57,12 @@ QtObject:
if index.row < 0 or index.row >= self.members.len:
return
let communityMember = self.members[index.row]
let communityMemberPubkey = self.members[index.row]
let communityMemberRole = role.CommunityMembersRoles
case communityMemberRole:
of CommunityMembersRoles.UserName: result = newQVariant(self.userName(communityMember, self.alias(communityMember)))
of CommunityMembersRoles.PubKey: result = newQVariant(communityMember)
of CommunityMembersRoles.Identicon: result = newQVariant(self.identicon(communityMember))
of CommunityMembersRoles.UserName: result = newQVariant(self.userName(communityMemberPubkey, self.alias(communityMemberPubkey)))
of CommunityMembersRoles.PubKey: result = newQVariant(communityMemberPubkey)
of CommunityMembersRoles.Identicon: result = newQVariant(self.identicon(communityMemberPubkey))
method roleNames(self: CommunityMembersView): Table[int, string] =
{