     var messages: [Message] = []
     var notificationIDs: [String] = []
     var currentMessageCountLimit = Constants.Limits.messageCountStandardLimit
+    
+    
+    /** Overridden variable which determines if current view contrller can become first responder. */
+    override var canBecomeFirstResponder: Bool {
+        return true
+    }
+    
     
     // MARK: Storyboard
     @IBOutlet weak var chatInputAccessoryView: ChatInputAccessoryView!

    }
    
    
    /** Overridden variable which determines if current view contrller can become first responder. */
    override var canBecomeFirstResponder: Bool {
        return true
    }
    
    
    // MARK: IBAction methods
    /** Action method which fires when the user taps 'Send'. */
    @IBAction func didPressSend(_ sender: Any) {

    /** Dismiss the custom keyboard (the input accessory) */
    func dismissKeyboard() {
        chatInputAccessoryView.expandingTextView.resignFirstResponder()
        self.becomeFirstResponder()
    }
    
    
