Upon reception of an unsollicited option (i.e. a request), update of the contact provider is only performed if capabilities have changed. Timestamp of the last capabilities refresh should always be updated.
If received options were requested (i.e. it is a response), timestamp of the last capabilities refresh is always updated.
Reproducible.
Initial conditions: A and B are both RCS contacts
Action: A invite B for a one to one chat
Result: when entering the conversation A sends an option request to B. B sends back the response.
Action: wait one minute (until the validity of the capabilities have expired)
Result: The B capabilities are no more valid
Action: B sends a capability request to A
Expected result: A updates the last time response for the B capabilities.
Result: B capabilities are not updated (and are no more valid).
Upon reception of an unsollicited option (i.e. a request), update of the contact provider is only performed if capabilities have changed. Timestamp of the last capabilities refresh should always be updated. If received options were requested (i.e. it is a response), timestamp of the last capabilities refresh is always updated. Reproducible.
Initial conditions: A and B are both RCS contacts Action: A invite B for a one to one chat Result: when entering the conversation A sends an option request to B. B sends back the response. Action: wait one minute (until the validity of the capabilities have expired) Result: The B capabilities are no more valid Action: B sends a capability request to A Expected result: A updates the last time response for the B capabilities. Result: B capabilities are not updated (and are no more valid).