         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 topMargin: CGFloat = 0.0
        let leftMargin: CGFloat = -5.0
        let rightMargin: CGFloat = 5.0
                        
        let bubbleBackgroundView = self.createBubbleBackgroundView(with: backgroundColor)
        

        
        NSLayoutConstraint.activate([
            bubbleBackgroundView.topAnchor.constraint(equalTo: topAnchor, constant: topMargin),
            bubbleBackgroundView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: -leftMargin),
            bubbleBackgroundView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: rightMargin)
        ])
    }
