             strongSelf.tableNode.view?.contentInset.bottom = bottom
             strongSelf.tableNode.view?.scrollIndicatorInsets.bottom = bottom
 
-            strongSelf.messageToolbarBottomConstraint.constant = 0
+            strongSelf.chatToolbarBottomConstraint.constant = 0
             strongSelf.view.layoutIfNeeded()
         }
     }

            chatToolbar.leadingAnchor.constraintEqualToAnchor(view.leadingAnchor).active = true
            chatToolbar.trailingAnchor.constraintEqualToAnchor(view.trailingAnchor).active = true
            let bottom = chatToolbar.bottomAnchor.constraintEqualToAnchor(view.bottomAnchor)
            messageToolbarBottomConstraint = bottom
            bottom.active = true

        }

        realm = conversation.realm!

                let deltaHeight = toolbar.height - toolbar.previousHeight

                UIView.animateWithDuration(0.1, delay: 0.0, options: .CurveEaseInOut, animations: { [weak self] in
                    self?.tableNode.view?.contentOffset.y += deltaHeight
                    self?.tableNode.view?.contentInset.bottom += deltaHeight
                    self?.tableNode.view?.scrollIndicatorInsets.bottom += deltaHeight
                }, completion: { _ in })
