Fixed crash when typing to friend who has not accepted friend request