lib/ably/realtime/client/incoming_message_dispatcher.rb in ably-0.7.1 vs lib/ably/realtime/client/incoming_message_dispatcher.rb in ably-0.7.2
- old
+ new
@@ -117,10 +117,10 @@
def update_connection_recovery_info(protocol_message)
if protocol_message.connection_key && (protocol_message.connection_key != connection.key)
logger.debug "New connection ID set to #{protocol_message.connection_id} with connection key #{protocol_message.connection_key}"
detach_attached_channels protocol_message.error if protocol_message.error
- connection.update_connection_id_and_key protocol_message.connection_id, protocol_message.connection_key
+ connection.configure_new protocol_message.connection_id, protocol_message.connection_key, protocol_message.connection_serial
end
if protocol_message.has_connection_serial?
connection.update_connection_serial protocol_message.connection_serial
end