         return bubbleBackgroundView
     }
     
-    func getMessageBubbleBackgroundView(from cell: MXKRoomBubbleTableViewCell) -> RoomMessageBubbleBackgroundView? {
-        
-        let foundView = cell.contentView.subviews.first { view in
-            return view is RoomMessageBubbleBackgroundView
-        }
-        
-        return foundView as? RoomMessageBubbleBackgroundView
-    }
-    
     private func addBubbleBackgroundViewToCell(_ bubbleCell: MXKRoomBubbleTableViewCell, backgroundColor: UIColor) {
         
         guard let messageTextView =  bubbleCell.messageTextView else {

        let contentView = cell.contentView
        
        let leftMargin: CGFloat = 80.0
        let rightMargin: CGFloat = 38.0
        let bottomMargin: CGFloat = -2.0
        
        cell.msgTextViewLeadingConstraint.isActive = false

        }
        
        let topMargin: CGFloat = 0.0
        let leftMargin: CGFloat = 5.0
        let rightMargin: CGFloat = 45.0 // Add extra space for timestamp
                        
        let bubbleBackgroundView = self.createBubbleBackgroundView(with: backgroundColor)
        
