lib/submodules/ably-ruby/lib/ably/realtime/channel/channel_manager.rb in ably-rest-0.7.5 vs lib/submodules/ably-ruby/lib/ably/realtime/channel/channel_manager.rb in ably-rest-0.8.1
- old
+ new
@@ -38,9 +38,10 @@
if attached_protocol_message.has_presence_flag?
channel.presence.manager.sync_expected
else
channel.presence.manager.sync_not_expected
end
+ channel.set_attached_serial attached_protocol_message.channel_serial
end
# An error has occurred on the channel
def emit_error(error)
logger.error "ChannelManager: Channel '#{channel.name}' error: #{error}"