jessesquires/JSQMessagesViewController — pull request #649 by toblerpwn (2014-11-27 05:12:30+00:00)
Title: Fix #648: Verify that `inputToolbar` `isFirstResponder` before responding to `UIKeyboard` notifications

This PR fixes #648 by checking verifying that the `inputToolbar` `textView` `isFirstResponder` - OR whether it is already 'in motion', i.e. in the process of being hidden AFTER it `resignFirstResponder` is called.

**NOTE:** The changes introduced in #646 will also need this fix - i.e. the same conditional must be applied to the 'keyboard did hide' notification handler.