Feature/2099 personal state

This commit is contained in:
Arnfried Griesert
2022-06-29 11:08:57 +00:00
parent 7cdd0bf37f
commit 125e3b5362
9 changed files with 253 additions and 10 deletions
@@ -1114,6 +1114,12 @@
participantCell.powerLevelLabel.text = contact.bwiUserLabel;
}
if (BuildSettings.bwiPersonalState && contact.mxMember.userId) {
MXUser *user = [self.mxRoom.mxSession userWithUserId:contact.mxMember.userId];
participantCell.contactInformationLabel.text = user.displayname;
participantCell.contactInformationLabel.hidden = user.displayname.length > 0;
}
}
cell = participantCell;
}