mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Feature/4014 new layout notes room
This commit is contained in:
committed by
JanNiklas Grabowski
parent
e57b51ed09
commit
0d1b84b04e
@@ -141,10 +141,15 @@
|
||||
|
||||
self.accessibilityLabel = accessibilityLabel;
|
||||
|
||||
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.avatarUrl
|
||||
roomId:roomCellData.roomIdentifier
|
||||
displayName:roomCellData.roomDisplayname
|
||||
mediaManager:roomCellData.mxSession.mediaManager];
|
||||
PersonalNotesDefaultService *service = [[PersonalNotesDefaultService alloc] initWithMxSession:roomCellData.mxSession];
|
||||
if (BWIBuildSettings.shared.bwiUseCustomPersonalNotesAvatar && [roomCellData.roomIdentifier isEqualToString:[service personalNotesRoomId]]) {
|
||||
self.roomAvatar.image = [UIImage imageNamed:[service avatarImageUrl]];
|
||||
} else {
|
||||
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.avatarUrl
|
||||
roomId:roomCellData.roomIdentifier
|
||||
displayName:roomCellData.roomDisplayname
|
||||
mediaManager:roomCellData.mxSession.mediaManager];
|
||||
}
|
||||
|
||||
if (roomCellData.directUserId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user