mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
MESSENGER-3352 build settings
This commit is contained in:
@@ -542,7 +542,7 @@
|
||||
{
|
||||
AccountRestrictionService *service = [[AccountRestrictionService alloc] initWithMxSession:room.mxSession];
|
||||
|
||||
self.showInviteUserFab = !(room.isDirect || BwiBuildSettings.allowInviteOnDirectRooms) && !room.isPersonalNotesRoom
|
||||
self.showInviteUserFab = !(room.isDirect || BWIBuildSettings.shared.allowInviteOnDirectRooms) && !room.isPersonalNotesRoom
|
||||
&& ![service isAddressListRestriction];
|
||||
|
||||
if (_showInviteUserFab)
|
||||
@@ -782,7 +782,7 @@
|
||||
// ...and then alphabetically.
|
||||
// We could tiebreak instead by "last recently spoken in this room" if we wanted to.
|
||||
NSComparator comparator = ^NSComparisonResult(Contact *contactA, Contact *contactB) {
|
||||
if (BwiBuildSettings.bwiUserLabelParticipantSorting == true) {
|
||||
if (BWIBuildSettings.shared.bwiUserLabelParticipantSorting == true) {
|
||||
return [self bwiParticipantsCompareLeft:contactA right:contactB];
|
||||
}
|
||||
|
||||
@@ -1122,13 +1122,13 @@
|
||||
participantCell.contactDisplayNameLabel.text = [roomState.members memberName:contact.mxMember.userId];
|
||||
}
|
||||
|
||||
if (BwiBuildSettings.bwiUserLabelsParticipantsVisible) {
|
||||
if (BWIBuildSettings.shared.bwiUserLabelsParticipantsVisible) {
|
||||
contact.bwiUserLabel = [self.bwiUserLabelService getUserLabelWithUser:contact.mxMember.userId];
|
||||
|
||||
participantCell.powerLevelLabel.text = contact.bwiUserLabel;
|
||||
}
|
||||
|
||||
if (BuildSettings.bwiPersonalState && contact.mxMember.userId) {
|
||||
if (BWIBuildSettings.shared.bwiPersonalState && contact.mxMember.userId) {
|
||||
MXUser *user = [self.mxRoom.mxSession userWithUserId:contact.mxMember.userId];
|
||||
participantCell.contactInformationLabel.text = user.statusMsg;
|
||||
participantCell.contactInformationLabel.hidden = user.statusMsg.length <= 0;
|
||||
|
||||
Reference in New Issue
Block a user