lib/chatrix/client.rb
def sync!
      events = @matrix.sync since: @since
      process_sync events
    rescue ApiError => err
      broadcast(:sync_error, err)
    end
# Syncs against the server.
#
# If an API error occurs during sync, it will be rescued and broadcasted
# as `:sync_error`.
Syncs against the server.
If an API error occurs during sync, it will be rescued and broadcasted
as `:sync_error`.
Syncs against the server . If an API error occurs during sync it will be rescued and broadcasted as ` : sync_error ` .
def sync!
      events = @matrix.sync since: @since
      process_sync events
    rescue ApiError => err
      broadcast(:sync_error, err)
    end
def sync! events = @matrix . sync since : @since process_sync events rescue ApiError => err broadcast ( :sync_error , err ) end
Syncs against the server.
Syncs against the server .