         } else {
             
             // Creating attributed text layout
-            self.init(attributedText: text.attributedText, date: date, isOut: isOut, peer: peer, layoutKey: layoutKey)
+            self.init(attributedText: text.attributedText, textColor: textColor, date: date, isOut: isOut, peer: peer, layoutKey: layoutKey)
             
             // Setting source code references
             self.sources = text.code

    private static let parser = ARMarkdownParser(int: ARMarkdownParser_MODE_LITE)
    
    var text: String?
    var textColor: UIColor?
    var attrText: NSAttributedString?
    
    var isUnsupported: Bool = false
    var textSizeWithPadding: CGSize

            
            // When not reusing force to relayout view
            needRelayout = true

            // Setting text's font size and color
            messageText.textColor = self.cellLayout.textColor
            
            if self.cellLayout.text != nil {

                // Setting text
                messageText.text = self.cellLayout.text
            } else {
                
                // Setting attributed text
                messageText.setText(self.cellLayout.attrText)
            }
            
            // Setting sender name if needed
