mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
MESSENGER-5223 add federation pill in timeline
This commit is contained in:
@@ -275,7 +275,14 @@ class BaseRoomCell: MXKRoomBubbleTableViewCell, BaseRoomCellProtocol {
|
||||
let paginationDate = bubbleData.date,
|
||||
roomCellContentView.showPaginationTitle {
|
||||
roomCellContentView.paginationLabel.text = bubbleData.eventFormatter.dateString(from: paginationDate, withTime: false)?.uppercased()
|
||||
}
|
||||
}
|
||||
|
||||
// BWI: #5223 add federation icon in timeline
|
||||
if let bubbleData = self.bubbleData {
|
||||
if let room = bubbleData.mxSession.room(withRoomId: bubbleData.roomId) {
|
||||
self.roomCellContentView?.showFederationPill = room.isRoomMemberFederated(bubbleData.senderId)
|
||||
}
|
||||
}
|
||||
|
||||
if roomCellContentView.showEncryptionStatus {
|
||||
self.updateEncryptionStatusViewImage()
|
||||
|
||||
Reference in New Issue
Block a user