     @objc func didTapMessage(gesture: UITapGestureRecognizer) {
         let message = gesture.view as! Message
         dismissMessage(message, fromGesture: true)
-        self.tappedHandler()
+        tapHandler?()
     }
     
     private func dismissMessage(message: Message, fromGesture: Bool) {

    
    private var messageWindow: MessageWindow?
    
    public var tappedHandler : () -> () = {}
    
    private func newMessageWindow() -> MessageWindow {
        let messageWindow = MessageWindow()

        return nil
    }
    
}
