public boolean createEntryForReceivedRequest ( ContactRequest fr ) { String user_uuid = fr . getUserIdentifier ( ) ; String receive_token = fr . getAccessToken ( ) ; int request_status = REQUEST_PENDING ; if ( insertNewEntry ( user_uuid , receive_token , request_status ) ) { return true ; } return false ; }
Creates a pending request with the information contained in the message .