anchor.diff:          _ ->
               true
       end.
  +
   %%--------------------------------------------------------------------
   %% Deprecated API
   %%--------------------------------------------------------------------
  
positive.code:     Result.
  
  is_mod_register_enabled() ->
      Server = escalus_ct:get_config(ejabberd_addr),
      Host = escalus_ct:get_config(ejabberd_domain),
      ClientProps = [{server, Server},
                     {host, Host}],
      {ok, Conn, ClientProps, _} = escalus_connection:start(ClientProps,
  
negative.code:     get_defined_option(Config, User, password, escalus_password).
  
  get_host(Config, User) ->
      get_user_option(host, User, escalus_host, Config, get_server(Config, User)).
  
  get_port(Config, User) ->
      get_user_option(port, User, escalus_port, Config, 5222).
  
  get_server(Config, User) ->
      get_user_option(server, User, escalus_server, Config, <<"localhost">>).
  
  get_wspath(Config, User) ->
      get_user_option(wspath, User, escalus_wspath, Config, undefined).
  