<h1>Converse.js documentation<aclass="headerlink"href="#converse-js-documentation"title="Permalink to this headline">¶</a></h1>
<divclass="toctree-wrapper compound">
<divclass="toctree-wrapper compound">
<ulclass="simple">
</ul>
</div>
...
...
@@ -64,9 +77,9 @@
</ul>
</div>
<divclass="section"id="configuration-variables">
<h2><aclass="toc-backref"href="#id1">Configuration variables:</a><aclass="headerlink"href="#configuration-variables"title="Permalink to this headline">¶</a></h2>
<h1><aclass="toc-backref"href="#id1">Configuration variables:</a><aclass="headerlink"href="#configuration-variables"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="prebind">
<h3><aclass="toc-backref"href="#id2">Prebind</a><aclass="headerlink"href="#prebind"title="Permalink to this headline">¶</a></h3>
<h2><aclass="toc-backref"href="#id2">Prebind</a><aclass="headerlink"href="#prebind"title="Permalink to this headline">¶</a></h2>
<p>Use this option when you want to attach to an existing XMPP connection that was
already authenticated (usually on the backend before page load).</p>
<p>This is useful when you don’t want to render the login form on the chat control
...
...
@@ -86,18 +99,18 @@ have to write a Javascript snippet to attach to the set up connection:</p>
RID (Request ID), which you use when you attach to the connection.</p>
</div>
<divclass="section"id="fullname">
<h3><aclass="toc-backref"href="#id3">fullname</a><aclass="headerlink"href="#fullname"title="Permalink to this headline">¶</a></h3>
<h2><aclass="toc-backref"href="#id3">fullname</a><aclass="headerlink"href="#fullname"title="Permalink to this headline">¶</a></h2>
<p>If you are using prebinding, you need to specify the fullname of the currently
logged in user.</p>
</div>
<divclass="section"id="bosh-service-url">
<h3><aclass="toc-backref"href="#id4">bosh_service_url</a><aclass="headerlink"href="#bosh-service-url"title="Permalink to this headline">¶</a></h3>
<h2><aclass="toc-backref"href="#id4">bosh_service_url</a><aclass="headerlink"href="#bosh-service-url"title="Permalink to this headline">¶</a></h2>
<p>Connections to an XMPP server depend on a BOSH connection manager which acts as
a middle man between HTTP and XMPP.</p>
<p>See <aclass="reference external"href="http://metajack.im/2008/09/08/which-bosh-server-do-you-need/l">here</a> for more information.</p>
</div>
<divclass="section"id="xhr-user-search">
<h3><aclass="toc-backref"href="#id5">xhr_user_search</a><aclass="headerlink"href="#xhr-user-search"title="Permalink to this headline">¶</a></h3>
<h2><aclass="toc-backref"href="#id5">xhr_user_search</a><aclass="headerlink"href="#xhr-user-search"title="Permalink to this headline">¶</a></h2>
<p>There are two ways to add users.</p>
<ulclass="simple">
<li>The user inputs a valid JID (Jabber ID), and the user is added as a pending</li>
...
...
@@ -108,60 +121,22 @@ a middle man between HTTP and XMPP.</p>
be used.</p>
</div>
<divclass="section"id="auto-subscribe">
<h3><aclass="toc-backref"href="#id6">auto_subscribe</a><aclass="headerlink"href="#auto-subscribe"title="Permalink to this headline">¶</a></h3>
<h2><aclass="toc-backref"href="#id6">auto_subscribe</a><aclass="headerlink"href="#auto-subscribe"title="Permalink to this headline">¶</a></h2>
<p>If true, the user will automatically subscribe back to any contact requests.</p>
</div>
<divclass="section"id="animate">
<h3><aclass="toc-backref"href="#id7">animate</a><aclass="headerlink"href="#animate"title="Permalink to this headline">¶</a></h3>
<h2><aclass="toc-backref"href="#id7">animate</a><aclass="headerlink"href="#animate"title="Permalink to this headline">¶</a></h2>
<p>Show animations, for example when opening and closing chat boxes.</p>